mirror of
https://github.com/go-gitea/gitea
synced 2024-08-28 21:15:26 +02:00
* 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>
8 lines
175 B
JavaScript
8 lines
175 B
JavaScript
import EasyMDE from 'easymde';
|
|
|
|
import CodeMirror from 'codemirror/lib/codemirror.js';
|
|
|
|
window.EasyMDE = EasyMDE;
|
|
window.SimpleMDE = EasyMDE;
|
|
window.CodeMirror = CodeMirror;
|
|
|