@uniweb/semantic-parser 1.2.0 → 1.2.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
|
@@ -360,6 +360,11 @@ function createSequenceElement(node, options = {}) {
|
|
|
360
360
|
.map((doc) => parseDocumentBlock(doc.attrs)) || [],
|
|
361
361
|
};
|
|
362
362
|
|
|
363
|
+
// The editor renamed this node to `StructuredContent` (2026-07-31,
|
|
364
|
+
// editor-internal). Both are accepted: the new name is what the editor
|
|
365
|
+
// emits now, and the old one still arrives from documents authored
|
|
366
|
+
// before the rename, which the framework never rewrites.
|
|
367
|
+
case "StructuredContent":
|
|
363
368
|
case "FormBlock":
|
|
364
369
|
// Parse form data (can be JSON string or object)
|
|
365
370
|
let formData = attrs?.data;
|