Merge remote-tracking branch 'origin/develop' into release/1.2.4-beta

This commit is contained in:
JackLian 2023-12-26 15:09:06 +08:00
commit ee1323bc92

View File

@ -462,6 +462,9 @@ export class NodeChildren implements INodeChildren {
const node: INode = this.owner.document?.createNode(child);
this.children.push(node);
node.internalSetParent(this.owner);
/* istanbul ignore next */
const editor = node.document?.designer.editor;
editor?.eventBus.emit('node.add', { node });
});
changed = true;
}