|
@@ -27,6 +27,11 @@ export const hideElements = (panels: string[], protyle?: IProtyle, focusHide = f
|
|
|
item.classList.remove("protyle-wysiwyg--hl");
|
|
|
});
|
|
|
}
|
|
|
+ // 不能 remove("protyle-wysiwyg--hl") 否则打开页签的时候 "cb-get-hl" 高亮会被移除
|
|
|
+ if (protyle.gutter && panels.includes("gutterOnly")) {
|
|
|
+ protyle.gutter.element.classList.add("fn__none");
|
|
|
+ protyle.gutter.element.innerHTML = "";
|
|
|
+ }
|
|
|
if (protyle.toolbar && panels.includes("toolbar")) {
|
|
|
protyle.toolbar.element.classList.add("fn__none");
|
|
|
protyle.toolbar.element.style.display = "";
|