@flowgram.ai/document 0.4.16 → 0.4.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1809,6 +1809,7 @@ var FlowDocument = class {
1809
1809
  originParent,
1810
1810
  meta
1811
1811
  });
1812
+ this.options.preNodeCreate?.(node);
1812
1813
  const datas = dataRegistries ? this.nodeDataRegistries.concat(...dataRegistries) : this.nodeDataRegistries;
1813
1814
  node.addInitializeData(datas);
1814
1815
  node.onDispose(() => this.onNodeDisposeEmitter.fire({ node }));