summaryrefslogtreecommitdiff
path: root/public/js/lib/editor/index.js (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-12Fix toolbar day modePedro Ferreira1-0/+2
Also moved the code to SCSS Signed-off-by: Pedro Ferreira <pedro@dete.st>
2019-05-12Make upload button respect night modePedro Ferreira1-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>
2019-03-25Move upload button into toolbarSheogorath1-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>
2018-11-14switching to eslint for code checkingClaudius Coenen1-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>
2018-06-23Fix liniting and optimize some functionsSheogorath1-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>
2018-06-19Add a toolbar to Codemirror editorEdgar Zanella Alvarenga1-0/+87
Signed-off-by: Edgar Zanella Alvarenga <e@vaz.io>
2018-02-24Allow the usage of the esc-key by codemirrorSheogorath1-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>
2017-10-30Corrected some grammatical issuesOliver Herrmann1-3/+3
Obviously caught up in a bad translation and didn't particularly make sense for native english speakers.
2017-09-27Fix home and end keys behavior for windowsWu Cheng-Han1-0/+2
2017-05-07Expose internal editor config variableYukai Huang1-0/+1
2017-05-07Load statusbar template by string-loaderYukai Huang1-34/+20
2017-03-28Move updateStatusBar method into editor classYukai Huang1-0/+23
2017-03-28Fix listener “this” contextYukai Huang1-1/+1
2017-03-28Promisify getStatusBarTemplate methodYukai Huang1-26/+28
2017-03-28Extract selection update from updateStatusbarYukai Huang1-1/+2
2017-03-28Impl multiple codemirror event listenerYukai Huang1-0/+13
2017-03-13Fix variable exporting errorYukai Huang1-3/+1
2017-03-09Use JavaScript standard styleYukai Huang1-426/+449
2017-03-08Extract editor related codeYukai Huang1-0/+459
- in public/js/lib/editor/index.js