summaryrefslogtreecommitdiff
path: root/public/js/lib/editor/index.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix toolbar day modePedro Ferreira2019-05-121-0/+2
| | | | | | Also moved the code to SCSS Signed-off-by: Pedro Ferreira <pedro@dete.st>
* Make upload button respect night modePedro Ferreira2019-05-121-1/+1
| | | | | | | Also set a title in the input field, so that the file name doesn't show up. Signed-off-by: Pedro Ferreira <pedro@dete.st>
* Move upload button into toolbarSheogorath2019-03-251-0/+9
| | | | | | | | | | | | | Currently we have the odd situation to have two toolbars. One inside the header and one in the editor. Since we only show the image upload button when the editor is visible we should move the upload button into the editor toolbar. This patch does this by adding the image upload button besides the image tag button. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* switching to eslint for code checkingClaudius Coenen2018-11-141-4/+4
| | | | | | | most rules degraded to WARN, so we don't go insane. This will change over time. The aim is to conform to a common style Signed-off-by: Claudius Coenen <opensource@amenthes.de>
* Fix liniting and optimize some functionsSheogorath2018-06-231-15/+11
| | | | | | | | | First fixed some linting issues. Also optimized some functions to be undoable with one ctrl+z. This should also speedup some operations Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Add a toolbar to Codemirror editorEdgar Zanella Alvarenga2018-06-191-0/+87
| | | | Signed-off-by: Edgar Zanella Alvarenga <e@vaz.io>
* Allow the usage of the esc-key by codemirrorSheogorath2018-02-241-3/+3
| | | | | | | | | | | | | This change allows all input modes of codemirror to use the information from an input esc-key and make this way vim and sublime more functional. To prevent this change from breaking the return from the fullscreen mode, it catches the esc-key in this case. Hopefully this is an acceptable solution. As before the vim-mode is handled different in fulltext-mode as it is esc-key heavy. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Corrected some grammatical issuesOliver Herrmann2017-10-301-3/+3
| | | Obviously caught up in a bad translation and didn't particularly make sense for native english speakers.
* Fix home and end keys behavior for windowsWu Cheng-Han2017-09-271-0/+2
|
* Expose internal editor config variableYukai Huang2017-05-071-0/+1
|
* Load statusbar template by string-loaderYukai Huang2017-05-071-34/+20
|
* Move updateStatusBar method into editor classYukai Huang2017-03-281-0/+23
|
* Fix listener “this” contextYukai Huang2017-03-281-1/+1
|
* Promisify getStatusBarTemplate methodYukai Huang2017-03-281-26/+28
|
* Extract selection update from updateStatusbarYukai Huang2017-03-281-1/+2
|
* Impl multiple codemirror event listenerYukai Huang2017-03-281-0/+13
|
* Fix variable exporting errorYukai Huang2017-03-131-3/+1
|
* Use JavaScript standard styleYukai Huang2017-03-091-426/+449
|
* Extract editor related codeYukai Huang2017-03-081-0/+459
- in public/js/lib/editor/index.js