summaryrefslogtreecommitdiff
path: root/public/js/lib/editor (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-08Fix some false titlesAlexander Wellbrock1-2/+2
Signed-off-by: Alexander Wellbrock <a.wellbrock@mailbox.org>
2018-06-23Fix all newly introduced linting issuesSheogorath1-10/+10
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-06-23Fix liniting and optimize some functionsSheogorath2-43/+72
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 Alvarenga3-0/+175
Signed-off-by: Edgar Zanella Alvarenga <e@vaz.io>
2018-05-16Removing google drive integrationSheogorath1-2/+0
It's sad but it's not working. For multiple releases this should be already broken which shows how often it's used. As there is also a security issue related to that, it's better to remove the feature completely. Whoever wants to rewrite it, feel free to go. This commit removes the Google Drive integration from HackMD's Frontend editor and this way removes the need to provide any API key and Client ID in the frontend. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
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>
2018-01-05:sparkles: Implemented dark theme.Edoardo Odorico1-0/+1
Signed-off-by: Edoardo Odorico <edoubuntu@gmail.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-07Manage syncscroll / currentMode in appStateYukai Huang1-11/+0
2017-05-07Extract modeTypeYukai Huang1-0/+11
2017-05-07Expose internal editor config variableYukai Huang1-0/+1
2017-05-07Load statusbar template by string-loaderYukai Huang2-34/+61
2017-03-28Move updateStatusBar method into editor classYukai Huang2-0/+28
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 Huang3-541/+568
2017-03-08Extract editor related codeYukai Huang2-0/+505
- in public/js/lib/editor/index.js
2017-03-07Extract UI jquery nodeYukai Huang1-0/+84