diff options
| author | Alon Levy <alon@pobox.com> | 2015-03-02 15:05:28 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-03-02 15:05:30 +0200 |
| commit | aca8f0acd78108dcf615b0e93d34dea089b26efc (patch) | |
| tree | 346a5f72244bf9c0535bdffd1895a898e61c0fe3 /res | |
| parent | f85d7ee05485115f5462f8491db8e444e3c62bd3 (diff) | |
textanalyser: switch to div, update to create blue and red spans (Fixes #118 almost entirely)
Missing:
- no placeholder text now (since div doesn't support it). Will need to
implement it myself, there are plenty of examples
And code wise:
- need to split out a component graph_input.js which will hide
the underlying implementation.
Diffstat (limited to 'res')
| -rw-r--r-- | res/templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/templates/index.html b/res/templates/index.html index 70022b3f..ac9258d8 100644 --- a/res/templates/index.html +++ b/res/templates/index.html @@ -72,7 +72,7 @@ var rz_config = { // set as a global variable <div id="search-suggestion" class="suggestion" style="display: none"></div> </div> <div class="input-container" id="input-container__graph-input"> - <input class="input-bar" id="textanalyser" placeholder="Add nodes or links" autofocus/> + <div contentEditable="true" class="input input-bar" id="textanalyser" placeholder="Add nodes or links" autofocus ></div> <button id="btn_add"></button> <div id="input-suggestion" class="suggestion" style="display: none"></div> </div> |
