Vanessa 2025-12-24 11:09:47 +08:00
parent 25b6b9f679
commit 885bc90bdc

View file

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