mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 07:18:49 +01:00
🚨
This commit is contained in:
parent
6c1062c278
commit
6d96b91a5d
1 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ export const hideAllElements = (types: string[]) => {
|
|||
}
|
||||
if (types.includes("util")) {
|
||||
/// #if MOBILE
|
||||
const editor = getCurrentEditor()
|
||||
const editor = getCurrentEditor();
|
||||
editor.protyle.toolbar.subElement.classList.add("fn__none");
|
||||
if (editor.protyle.toolbar.subElementCloseCB) {
|
||||
editor.protyle.toolbar.subElementCloseCB();
|
||||
|
|
@ -73,7 +73,7 @@ export const hideAllElements = (types: string[]) => {
|
|||
item.editor.protyle.toolbar.subElementCloseCB();
|
||||
item.editor.protyle.toolbar.subElementCloseCB = undefined;
|
||||
}
|
||||
})
|
||||
});
|
||||
/// #endif
|
||||
}
|
||||
if (types.includes("pdfutil")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue