don't fit to content on clicking the add button
This commit is contained in:
parent
a8248bd829
commit
858fa874ae
|
@ -568,7 +568,10 @@ function createSectionsEditor({style, onTitleChanged}) {
|
|||
container.appendChild(section.el);
|
||||
}
|
||||
section.cm[forceRefresh ? 'refresh' : 'refreshOnView']();
|
||||
if (!base || init.code) {
|
||||
// Fit a) during startup or b) when the clone button is clicked on a section with some code
|
||||
fitToContent(section);
|
||||
}
|
||||
updateSectionOrder();
|
||||
section.onChange(updateLivePreview);
|
||||
updateLivePreview();
|
||||
|
|
Loading…
Reference in New Issue
Block a user