@uniweb/semantic-parser 1.1.0 → 1.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniweb/semantic-parser",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Semantic parser for ProseMirror/TipTap content structures",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
@@ -343,6 +343,10 @@ function processGroupContent(elements) {
343
343
  }
344
344
  break;
345
345
 
346
+ case "child_block":
347
+ // Inline child block reference — preserved in sequence, not in flat fields
348
+ break;
349
+
346
350
  case "form":
347
351
  // Map FormBlock to data.form
348
352
  body.data.form = element.data || element.attrs;
@@ -153,6 +153,11 @@ function createSequenceElement(node, options = {}) {
153
153
  attrs,
154
154
  };
155
155
 
156
+ case "inline_child_placeholder":
157
+ return {
158
+ type: "child_block",
159
+ refId: attrs.refId,
160
+ };
156
161
  case "ImageBlock":
157
162
  return {
158
163
  type: "image",