@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supernova-studio/client",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Supernova Data Models",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",
@@ -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 {