diff options
author | zeripath <art27@cantab.net> | 2020-11-10 19:16:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 14:16:30 -0500 |
commit | 13b8c0b7aeac365f0f161467f65c3b9b4e46896a (patch) | |
tree | d5a748ae96c42f49a71cc4b9d648097fa88d2459 /templates/base/footer.tmpl | |
parent | 21d496364a5e654ba535d06269f6c6679b5c2d74 (diff) | |
download | gitea-13b8c0b7aeac365f0f161467f65c3b9b4e46896a.tar.gz gitea-13b8c0b7aeac365f0f161467f65c3b9b4e46896a.zip |
Switch from SimpleMDE to EasyMDE (#13333)
* 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>
Diffstat (limited to 'templates/base/footer.tmpl')
-rw-r--r-- | templates/base/footer.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index 24bc44444f..c8e9674fba 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -12,7 +12,7 @@ {{template "base/footer_content" .}} {{if .RequireSimpleMDE}} - <script src="{{StaticUrlPrefix}}/vendor/plugins/simplemde/simplemde.min.js"></script> + <script src="{{StaticUrlPrefix}}/js/easymde.js?v={{MD5 AppVer}}"></script> <script src="{{StaticUrlPrefix}}/vendor/plugins/codemirror/addon/mode/loadmode.js"></script> <script src="{{StaticUrlPrefix}}/vendor/plugins/codemirror/mode/meta.js"></script> <script> |