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

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