@supernova-studio/client 0.7.1 → 0.9.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/index.d.mts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +1588 -438
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1616 -466
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/docs-editor/blocks-to-prosemirror.ts +1 -7
- package/src/docs-editor/mock.ts +2890 -383
package/package.json
CHANGED
|
@@ -372,12 +372,6 @@ function serializeTableNode(node: PageBlockItemTableNode): ProsemirrorNode {
|
|
|
372
372
|
src: node.value?.url,
|
|
373
373
|
},
|
|
374
374
|
};
|
|
375
|
-
|
|
376
|
-
case "MultiRichText":
|
|
377
|
-
// TODO
|
|
378
|
-
return {
|
|
379
|
-
type: "paragraph",
|
|
380
|
-
};
|
|
381
375
|
}
|
|
382
376
|
}
|
|
383
377
|
|
|
@@ -422,7 +416,7 @@ function serializeEmbedType(blockDefinitionId: string): string | undefined {
|
|
|
422
416
|
|
|
423
417
|
function serializeAsDivider(input: BaseInput): ProsemirrorNode {
|
|
424
418
|
return {
|
|
425
|
-
type: "
|
|
419
|
+
type: "horizontalRule",
|
|
426
420
|
attrs: serializeBlockNodeAttributes(input),
|
|
427
421
|
};
|
|
428
422
|
}
|