preserve cm height
This commit is contained in:
parent
41f90d717f
commit
fceb4c4990
|
@ -477,6 +477,7 @@ function SectionsEditor() {
|
||||||
keepDirty = false,
|
keepDirty = false,
|
||||||
si = editor.scrollInfo,
|
si = editor.scrollInfo,
|
||||||
} = {}) {
|
} = {}) {
|
||||||
|
editor.ready = false;
|
||||||
if (replace) {
|
if (replace) {
|
||||||
sections.forEach(s => s.remove(true));
|
sections.forEach(s => s.remove(true));
|
||||||
sections.length = 0;
|
sections.length = 0;
|
||||||
|
@ -514,6 +515,7 @@ function SectionsEditor() {
|
||||||
}
|
}
|
||||||
container.style.removeProperty('height');
|
container.style.removeProperty('height');
|
||||||
setGlobalProgress();
|
setGlobalProgress();
|
||||||
|
editor.ready = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @param {EditorSection} section */
|
/** @param {EditorSection} section */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user