mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
13b8c0b7ae
* Switch from SimpleMDE to EasyMDE Signed-off-by: Andrew Thornton <[email protected]> * use webpack to webpack the easymde css Signed-off-by: Andrew Thornton <[email protected]> * move css to only css Signed-off-by: Andrew Thornton <[email protected]> * move loading codemirror modes and addons back in to footer.tmpl Signed-off-by: Andrew Thornton <[email protected]> * Fix arc-green Signed-off-by: Andrew Thornton <[email protected]> * as per @silverwind * reinstall codemirror Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: Lauris BH <[email protected]>
9 lines
175 B
JavaScript
9 lines
175 B
JavaScript
import EasyMDE from 'easymde';
|
|
|
|
import CodeMirror from 'codemirror/lib/codemirror.js';
|
|
|
|
window.EasyMDE = EasyMDE;
|
|
window.SimpleMDE = EasyMDE;
|
|
window.CodeMirror = CodeMirror;
|
|
|