@supernova-studio/client 0.4.2 → 0.4.3
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/docs-editor/blocks-to-prosemirror.ts +1 -1
package/package.json
CHANGED
|
@@ -517,7 +517,7 @@ function serializeTextSpan(span: PageBlockTextSpan): ProsemirrorNode[] {
|
|
|
517
517
|
);
|
|
518
518
|
}
|
|
519
519
|
|
|
520
|
-
return interspersed;
|
|
520
|
+
return interspersed.filter(t => !!t.text);
|
|
521
521
|
}
|
|
522
522
|
|
|
523
523
|
function serializeTextSpanAttribute(spanAttribute: PageBlockTextSpanAttribute): ProsemirrorMark {
|