This commit is contained in:
Vanessa 2024-04-09 08:24:34 +08:00
parent 7fd796caf8
commit 7089ab5de6
3 changed files with 3 additions and 3 deletions

View file

@ -716,7 +716,7 @@ export class Wnd {
// 关闭分屏页签后光标消失
const editors = getAllModels().editor;
if (editors.length === 0) {
clearOBG()
clearOBG();
} else {
editors.forEach(item => {
if (!item.element.classList.contains("fn__none")) {

View file

@ -236,7 +236,7 @@ export class Outline extends Model {
documentSelf.ondragstart = () => false;
let ghostElement: HTMLElement;
let selectItem: HTMLElement;
let editor: IProtyle
let editor: IProtyle;
getAllModels().editor.find(editItem => {
if (editItem.editor.protyle.block.rootID === this.blockId) {
editor = editItem.editor.protyle;

View file

@ -233,4 +233,4 @@ export const clearOBG = () => {
item.blockId = "";
item.render(undefined);
});
}
};