@flowgram.ai/document 0.1.30 → 0.2.0
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 +10 -12
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +10 -12
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1921,18 +1921,16 @@ var FlowDocument = class {
|
|
|
1921
1921
|
parent: node
|
|
1922
1922
|
});
|
|
1923
1923
|
addedNodes.push(blockIconNode);
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
});
|
|
1935
|
-
}
|
|
1924
|
+
const inlineBlocksNode = this.addNode({
|
|
1925
|
+
id: `$inlineBlocks$${node.id}`,
|
|
1926
|
+
type: "inlineBlocks" /* INLINE_BLOCKS */,
|
|
1927
|
+
originParent: node,
|
|
1928
|
+
parent: node
|
|
1929
|
+
});
|
|
1930
|
+
addedNodes.push(inlineBlocksNode);
|
|
1931
|
+
blocks.forEach((blockData) => {
|
|
1932
|
+
this.addBlock(node, blockData, addedNodes);
|
|
1933
|
+
});
|
|
1936
1934
|
return addedNodes;
|
|
1937
1935
|
}
|
|
1938
1936
|
/**
|