Update placeholder text to make clear that users can use drag & drop to add text files' content into the editor
diff --git a/src/main/webapp/assets/js/view/editor.js b/src/main/webapp/assets/js/view/editor.js
index 72ce9f4..ef60250 100644
--- a/src/main/webapp/assets/js/view/editor.js
+++ b/src/main/webapp/assets/js/view/editor.js
@@ -222,7 +222,8 @@
hintOptions: {
completeSingle: false,
// closeOnUnfocus: false, // handy for debugging
- }
+ },
+ placeholder: "How to use it?\n- Enter blueprint yaml here\n- Drag & drop text files here\n\nPress Ctrl+Space for completion."
});
var oldYamlHint = CodeMirror.hint.yaml;
var that = this;
diff --git a/src/main/webapp/assets/tpl/editor/page.html b/src/main/webapp/assets/tpl/editor/page.html
index 9c0c351..7443e8f 100644
--- a/src/main/webapp/assets/tpl/editor/page.html
+++ b/src/main/webapp/assets/tpl/editor/page.html
@@ -57,7 +57,7 @@
<div class="composer-toolbar">
<!-- the toolbar -->
</div>
- <textarea id="yaml_code" placeholder="# Enter blueprint yaml here. Press Ctrl+Space for completion." mode="yaml" class="code-textarea" style="height:760px; width:98%"></textarea>
+ <textarea id="yaml_code" mode="yaml" class="code-textarea" style="height:760px; width:98%"></textarea>
</div>
<div class="composer-editor-loading hide"><span>Loading item...</span></div>
</div>