@uniformdev/richtext 19.207.1-alpha.28 → 19.209.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 +3 -0
- package/dist/index.js +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +3 -3
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.
|
|
3
|
+
"version": "19.209.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.
|
|
48
|
+
"@uniformdev/assets": "19.209.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": "
|
|
57
|
+
"gitHead": "8e4f9dd23cb5dd695511f73714b3ef055acf1955"
|
|
58
58
|
}
|