mirror of
https://github.com/documize/community.git
synced 2025-07-30 02:29:43 +02:00
CodeMirror dependency upgraded to v5.32.0
For handling Markdown and Code section types
This commit is contained in:
parent
3337db6b27
commit
0336f84a83
351 changed files with 3408 additions and 1945 deletions
4
gui/public/codemirror/mode/coffeescript/coffeescript.js
vendored
Executable file → Normal file
4
gui/public/codemirror/mode/coffeescript/coffeescript.js
vendored
Executable file → Normal file
|
@ -349,6 +349,10 @@ CodeMirror.defineMode("coffeescript", function(conf, parserConf) {
|
|||
return external;
|
||||
});
|
||||
|
||||
// IANA registered media type
|
||||
// https://www.iana.org/assignments/media-types/
|
||||
CodeMirror.defineMIME("application/vnd.coffeescript", "coffeescript");
|
||||
|
||||
CodeMirror.defineMIME("text/x-coffeescript", "coffeescript");
|
||||
CodeMirror.defineMIME("text/coffeescript", "coffeescript");
|
||||
|
||||
|
|
2
gui/public/codemirror/mode/coffeescript/index.html
vendored
Executable file → Normal file
2
gui/public/codemirror/mode/coffeescript/index.html
vendored
Executable file → Normal file
|
@ -733,7 +733,7 @@ wrapper::value = -> this._wrapped
|
|||
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {});
|
||||
</script>
|
||||
|
||||
<p><strong>MIME types defined:</strong> <code>text/x-coffeescript</code>.</p>
|
||||
<p><strong>MIME types defined:</strong> <code>application/vnd.coffeescript</code>, <code>text/coffeescript</code>, <code>text/x-coffeescript</code>.</p>
|
||||
|
||||
<p>The CoffeeScript mode was written by Jeff Pickhardt.</p>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue