@uniformdev/richtext 19.207.1-alpha.28 → 19.208.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.esm.js CHANGED
@@ -389,6 +389,9 @@ function renderChildrenToText(children, context) {
389
389
 
390
390
  // src/utils.ts
391
391
  var walkRichTextTree = (node, callback, parent) => {
392
+ if (!isRichTextNode(node)) {
393
+ return;
394
+ }
392
395
  callback(node, parent);
393
396
  if (Array.isArray(node.children)) {
394
397
  let i = 0;
package/dist/index.js CHANGED
@@ -450,6 +450,9 @@ function renderChildrenToText(children, context) {
450
450
 
451
451
  // src/utils.ts
452
452
  var walkRichTextTree = (node, callback, parent) => {
453
+ if (!isRichTextNode(node)) {
454
+ return;
455
+ }
453
456
  callback(node, parent);
454
457
  if (Array.isArray(node.children)) {
455
458
  let i = 0;
package/dist/index.mjs CHANGED
@@ -389,6 +389,9 @@ function renderChildrenToText(children, context) {
389
389
 
390
390
  // src/utils.ts
391
391
  var walkRichTextTree = (node, callback, parent) => {
392
+ if (!isRichTextNode(node)) {
393
+ return;
394
+ }
392
395
  callback(node, parent);
393
396
  if (Array.isArray(node.children)) {
394
397
  let i = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/richtext",
3
- "version": "19.207.1-alpha.28+369def3ba0",
3
+ "version": "19.208.0",
4
4
  "description": "Common functionality and types for Uniform Rich Text parameters",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -45,7 +45,7 @@
45
45
  "@lexical/link": "0.17.1",
46
46
  "@lexical/list": "0.17.1",
47
47
  "@lexical/rich-text": "0.17.1",
48
- "@uniformdev/assets": "19.207.1-alpha.28+369def3ba0",
48
+ "@uniformdev/assets": "19.208.0",
49
49
  "lexical": "0.17.1"
50
50
  },
51
51
  "files": [
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "369def3ba012b3fc314254d940448b9937e12900"
57
+ "gitHead": "9b96344a84cc37c1c54f9164b89ca7697611a2c0"
58
58
  }