是否可以在 CodeMirror 2 实例中包含两种或多种模式?
例如
var editor = CodeMirror.fromTextArea(document.getElementById("editor"), {
value: "Hello World",
mode: "css", "html", "javascript"
});
是否可以在 CodeMirror 2 实例中包含两种或多种模式?
例如
var editor = CodeMirror.fromTextArea(document.getElementById("editor"), {
value: "Hello World",
mode: "css", "html", "javascript"
});