mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
f6bd240a85
commit
e91a37a98b
1 changed files with 3 additions and 0 deletions
|
@ -245,6 +245,9 @@ const getActiveEditor = (wndActive = true) => {
|
||||||
}
|
}
|
||||||
/// #else
|
/// #else
|
||||||
editor = window.siyuan.mobile.popEditor || window.siyuan.mobile.editor;
|
editor = window.siyuan.mobile.popEditor || window.siyuan.mobile.editor;
|
||||||
|
if (editor?.protyle.element.classList.contains("fn__none")) {
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
/// #endif
|
/// #endif
|
||||||
return editor;
|
return editor;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue