Enable linting in newly created styles
This commit is contained in:
parent
bc63eccaa9
commit
ebd6b54e45
1
edit.js
1
edit.js
|
@ -1133,6 +1133,7 @@ function init() {
|
||||||
window.onload = () => {
|
window.onload = () => {
|
||||||
window.onload = null;
|
window.onload = null;
|
||||||
addSection(null, section);
|
addSection(null, section);
|
||||||
|
editors[0].setOption('lint', CodeMirror.defaults.lint);
|
||||||
// default to enabled
|
// default to enabled
|
||||||
document.getElementById("enabled").checked = true
|
document.getElementById("enabled").checked = true
|
||||||
initHooks();
|
initHooks();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user