:mobile: preview outline

This commit is contained in:
Vanessa 2023-06-18 21:18:14 +08:00
parent 23e6f86236
commit 9b6fe676ab
4 changed files with 12 additions and 7 deletions

View file

@ -31,7 +31,9 @@ export const setEditMode = (protyle: IProtyle, type: TEditorMode) => {
protyle.breadcrumb?.element.classList.remove("fn__none");
protyle.breadcrumb.toggleExit(!protyle.block.showAll);
}
/// #if !MOBILE
updateOutline(getAllModels(), protyle, true);
/// #endif
}
hideElements(["gutter", "toolbar", "select", "hint", "util"], protyle);
};