diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-15 00:16:06 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-15 00:16:06 -0500 |
commit | 5e1e95852821e138caf20c3f8ee23e3941e42bbc (patch) | |
tree | a88f3a3d6284e76116df24c54bd6a6ddc2184770 /static/mde.js | |
parent | 711269a7eb2e151512bcaf1afcf45b13540d8f8e (diff) |
better progressive enhancement of editor
Diffstat (limited to 'static/mde.js')
-rw-r--r-- | static/mde.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/static/mde.js b/static/mde.js deleted file mode 100644 index 7471110..0000000 --- a/static/mde.js +++ /dev/null @@ -1,20 +0,0 @@ -(function() { - var textarea = document.getElementsByTagName("textarea")[0]; - var form = textarea.form; - var container = document.createElement('div'); - /*container.innerHTML = - "<p>I know it looks funny in the editor, but to set the page "+ - "title (what appears in the tab name/window bar), put this at "+ - "the top of the page:</p>\n"+ - "<pre>---\ntitle: \"Your Title Here\"\n---\n</pre>";*/ - form.insertBefore(container, textarea); - container.appendChild(textarea); - - var simplemde = new SimpleMDE({ - autoDownloadFontAwesome: false, - element: textarea, - promptURLs: true, - forceSync: true, - showIcons: ["code", "table"], - }); -})(); |