Vanessa 2025-09-04 16:38:07 +08:00
parent f6bd240a85
commit e91a37a98b

View file

@ -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;
};