diff --git a/app/src/layout/dock/Outline.ts b/app/src/layout/dock/Outline.ts index 3eabc89fd..91be8565e 100644 --- a/app/src/layout/dock/Outline.ts +++ b/app/src/layout/dock/Outline.ts @@ -376,8 +376,11 @@ export class Outline extends Model { let needReload = false; const ops = data.data.sources[0]; ops.doOperations.find((item: IOperation) => { - if ((item.action === "update" || item.action === "insert") && - (item.data.indexOf('data-type="NodeHeading"') > -1 || item.data.indexOf(`
`) > -1)) { + if (item.action === "update" && + (this.element.querySelector(`.b3-list-item[data-node-id="${item.id}"]`) || item.data.indexOf('data-type="NodeHeading"') > -1)) { + needReload = true; + return true; + } else if (item.action === "insert" && item.data.indexOf('data-type="NodeHeading"') > -1) { needReload = true; return true; } else if (item.action === "delete" || item.action === "move") {