diff --git a/edit/source-editor.js b/edit/source-editor.js index 9e41d2f8..74915ef7 100644 --- a/edit/source-editor.js +++ b/edit/source-editor.js @@ -10,11 +10,11 @@ function createSourceEditor(style) { $('#name').disabled = true; $('#mozilla-format-heading').parentNode.remove(); - $('#sections').appendChild(tHTML(` -
- -
- `)); + $('#sections').appendChild( + $element({className: 'single-editor', appendChild: [ + $element({tag: 'textarea'}) + ]}) + ); // draw CodeMirror $('#sections textarea').value = style.source;