Fix: add editors hack
This commit is contained in:
parent
d4ddefe8a0
commit
de84248e05
|
@ -19,6 +19,8 @@ function createSourceEditor(style) {
|
|||
// draw CodeMirror
|
||||
$('#sections textarea').value = style.source;
|
||||
const cm = CodeMirror.fromTextArea($('#sections textarea'));
|
||||
// too many functions depend on this global
|
||||
editors.push(cm);
|
||||
|
||||
// dirty reporter
|
||||
const dirty = dirtyReporter();
|
||||
|
|
Loading…
Reference in New Issue
Block a user