mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-26 03:18:48 +01:00
This commit is contained in:
parent
25b6b9f679
commit
885bc90bdc
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue