@supernova-studio/client 0.3.0 → 0.3.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/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/docs-editor/prosemirror-to-blocks.ts +2 -0
package/package.json
CHANGED
|
@@ -357,6 +357,8 @@ function parseItem(rawItem: unknown, definition: PageBlockDefinition): PageBlock
|
|
|
357
357
|
|
|
358
358
|
if (validationResult.success) {
|
|
359
359
|
sanitizedProps[property.id] = validationResult.data;
|
|
360
|
+
} else {
|
|
361
|
+
console.log(validationResult.error.flatten());
|
|
360
362
|
}
|
|
361
363
|
}
|
|
362
364
|
|