This commit is contained in:
Vanessa 2022-06-10 14:47:57 +08:00
parent 180c04a685
commit 59aae7c87b
2 changed files with 7 additions and 1 deletions

View file

@ -21,7 +21,9 @@ export const setEditMode = (protyle: IProtyle, type: TEditorMode) => {
protyle.preview.element.classList.add("fn__none");
protyle.contentElement.classList.remove("fn__none");
protyle.scroll?.element.classList.remove("fn__none");
if (protyle.options.render.scroll) {
protyle.scroll?.element.classList.remove("fn__none");
}
protyle.breadcrumb.element.classList.remove("fn__none");
protyle.breadcrumb.element.nextElementSibling.classList.remove("fn__flex-1");