diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-12-23 17:02:02 +0000 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-12-23 17:02:02 +0000 |
| commit | 86566bcd396a4405067d0ddf09f76cfb2e30715a (patch) | |
| tree | b675aaf1af70feb909f5f58edca1f367a00fff3e /app/templates/base.html | |
| parent | a7fcce4448798a4c35eb2ac73d3133e2b075fe42 (diff) | |
| download | cheatdb-86566bcd396a4405067d0ddf09f76cfb2e30715a.tar.xz | |
Improve markdown editor style, switch to EasyMDE, add to comment reply fields
Diffstat (limited to 'app/templates/base.html')
| -rw-r--r-- | app/templates/base.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/templates/base.html b/app/templates/base.html index 10f8abf..4232908 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -125,6 +125,13 @@ <script src="/static/jquery.min.js"></script> <script src="/static/popper.min.js"></script> <script src="/static/bootstrap.min.js"></script> + <script src="/static/easymde.min.js"></script> + <link rel="stylesheet" type="text/css" href="/static/easymde.min.css"> + <script> + $("textarea.markdown").each(function() { + new EasyMDE({ element: this, hideIcons: ["image"] }); + }) + </script> {% block scriptextra %}{% endblock %} </body> </html> |
