diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.ts index c6ca16f43..140a351ed 100644 --- a/app/src/plugin/API.ts +++ b/app/src/plugin/API.ts @@ -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; } });