From fc4e814a99925966c5b85e92d8d821176b64c36b Mon Sep 17 00:00:00 2001 From: Thomas Bouron Date: Wed, 6 Apr 2016 15:49:40 +0100 Subject: [PATCH] Update placeholder text to make clear that users can use drag & drop to add text files' content into the editor --- src/main/webapp/assets/js/view/editor.js | 3 ++- src/main/webapp/assets/tpl/editor/page.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/assets/js/view/editor.js b/src/main/webapp/assets/js/view/editor.js index db10181bb..854669dca 100644 --- a/src/main/webapp/assets/js/view/editor.js +++ b/src/main/webapp/assets/js/view/editor.js @@ -204,7 +204,8 @@ define([ 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 b66dbd7dc..5659c895a 100644 --- a/src/main/webapp/assets/tpl/editor/page.html +++ b/src/main/webapp/assets/tpl/editor/page.html @@ -57,7 +57,7 @@

Blueprint Composer

- +