mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-22 00:06:09 +01:00
This commit is contained in:
parent
18022971a7
commit
8eb6d63f9c
1 changed files with 0 additions and 4 deletions
|
|
@ -10,8 +10,6 @@ export const setEditMode = (protyle: IProtyle, type: TEditorMode) => {
|
|||
protyle.contentElement.classList.add("fn__none");
|
||||
protyle.scroll?.element.classList.add("fn__none");
|
||||
protyle.breadcrumb.element.classList.add("fn__none");
|
||||
protyle.breadcrumb.element.nextElementSibling.classList.add("fn__flex-1");
|
||||
|
||||
protyle.preview.render(protyle);
|
||||
} else if (type === "wysiwyg") {
|
||||
setPadding(protyle);
|
||||
|
|
@ -25,8 +23,6 @@ export const setEditMode = (protyle: IProtyle, type: TEditorMode) => {
|
|||
protyle.scroll?.element.classList.remove("fn__none");
|
||||
}
|
||||
protyle.breadcrumb.element.classList.remove("fn__none");
|
||||
protyle.breadcrumb.element.nextElementSibling.classList.remove("fn__flex-1");
|
||||
|
||||
}
|
||||
hideElements( ["gutter", "toolbar", "select", "hint", "util"], protyle);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue