@flowgram.ai/document 0.1.30 → 0.1.31

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
@@ -1862,18 +1862,16 @@ var FlowDocument = class {
1862
1862
  parent: node
1863
1863
  });
1864
1864
  addedNodes.push(blockIconNode);
1865
- if (blocks.length > 0) {
1866
- const inlineBlocksNode = this.addNode({
1867
- id: `$inlineBlocks$${node.id}`,
1868
- type: "inlineBlocks" /* INLINE_BLOCKS */,
1869
- originParent: node,
1870
- parent: node
1871
- });
1872
- addedNodes.push(inlineBlocksNode);
1873
- blocks.forEach((blockData) => {
1874
- this.addBlock(node, blockData, addedNodes);
1875
- });
1876
- }
1865
+ const inlineBlocksNode = this.addNode({
1866
+ id: `$inlineBlocks$${node.id}`,
1867
+ type: "inlineBlocks" /* INLINE_BLOCKS */,
1868
+ originParent: node,
1869
+ parent: node
1870
+ });
1871
+ addedNodes.push(inlineBlocksNode);
1872
+ blocks.forEach((blockData) => {
1873
+ this.addBlock(node, blockData, addedNodes);
1874
+ });
1877
1875
  return addedNodes;
1878
1876
  }
1879
1877
  /**