mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 19:30:04 -06:00
This commit is contained in:
@@ -229,7 +229,8 @@ const getActiveEditor = (wndActive = true) => {
|
||||
}
|
||||
if (!editor) {
|
||||
editor = allEditor.find(item => {
|
||||
if (!item.protyle.element.classList.contains("fn__none") && hasClosestByClassName(item.protyle.element, "layout__wnd--active", true)) {
|
||||
if (!item.protyle.element.classList.contains("fn__none") &&
|
||||
hasClosestByClassName(item.protyle.element, "layout__wnd--active", true)) {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user