diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.ts index 608166814..55e66570a 100644 --- a/app/src/plugin/API.ts +++ b/app/src/plugin/API.ts @@ -245,6 +245,9 @@ const getActiveEditor = (wndActive = true) => { } /// #else editor = window.siyuan.mobile.popEditor || window.siyuan.mobile.editor; + if (editor?.protyle.element.classList.contains("fn__none")) { + return undefined; + } /// #endif return editor; };