Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Load EasyMDE/CodeMirror dynamically, remove RequireEasyMDE (#18069) | wxiaoguang | 2022-01-05 | 1 | -7/+0 |
| | | | This PR makes frontend load EasyMDE/CodeMirror dynamically, and removes `RequireEasyMDE`. | ||||
* | Clean legacy SimpleMDE code (#17926) | wxiaoguang | 2021-12-10 | 1 | -1/+0 |
| | | | | | | | | | | | Since we are using EasyMDE now, we do not need to keep the SimpleMDE code anymore. This PR removes all legacy SimpleMDE code, and makes some related changes: * `createCommentEasyMDE` can accept native DOM element, and it doesn't need `jQuery.data` to store EasyMDE editor object (as discussed about the frontend guideline). * introduce `getAttachedEasyMDE` to get the attached EasyMDE editor object, it's easier to find all the usage of EasyMDE. * rename variable names from `$simplemde` to `easyMDE`, the `$` was incorrect because it is a EasyMDE editor, not a jQuery object. With this PR, it will be easier to do more refactoring or replacing EasyMDE with other editors. | ||||
* | Switch from SimpleMDE to EasyMDE (#13333) | zeripath | 2020-11-10 | 1 | -0/+8 |
* Switch from SimpleMDE to EasyMDE Signed-off-by: Andrew Thornton <art27@cantab.net> * use webpack to webpack the easymde css Signed-off-by: Andrew Thornton <art27@cantab.net> * move css to only css Signed-off-by: Andrew Thornton <art27@cantab.net> * move loading codemirror modes and addons back in to footer.tmpl Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix arc-green Signed-off-by: Andrew Thornton <art27@cantab.net> * as per @silverwind * reinstall codemirror Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv> |