@uniformdev/richtext 19.165.1-alpha.0 → 19.166.1
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 +2 -4
- package/dist/index.js +2 -4
- package/dist/index.mjs +2 -4
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -248,8 +248,7 @@ function initializeRenderContext(node, parentContext) {
|
|
|
248
248
|
}
|
|
249
249
|
function renderToHtml(node, parentContext) {
|
|
250
250
|
var _a;
|
|
251
|
-
if (!isRichTextNode(node))
|
|
252
|
-
return "";
|
|
251
|
+
if (!isRichTextNode(node)) return "";
|
|
253
252
|
const context = initializeRenderContext(node, parentContext);
|
|
254
253
|
let renderer = (_a = context.resolveRenderer) == null ? void 0 : _a.call(context, context);
|
|
255
254
|
if (typeof renderer === "undefined") {
|
|
@@ -307,8 +306,7 @@ function initializeRenderContext2(node, parentContext) {
|
|
|
307
306
|
}
|
|
308
307
|
function renderToText(node, parentContext) {
|
|
309
308
|
var _a;
|
|
310
|
-
if (!isRichTextNode(node))
|
|
311
|
-
return "";
|
|
309
|
+
if (!isRichTextNode(node)) return "";
|
|
312
310
|
const context = initializeRenderContext2(node, parentContext);
|
|
313
311
|
let renderer = (_a = context.resolveRenderer) == null ? void 0 : _a.call(context, context);
|
|
314
312
|
if (typeof renderer === "undefined") {
|
package/dist/index.js
CHANGED
|
@@ -303,8 +303,7 @@ function initializeRenderContext(node, parentContext) {
|
|
|
303
303
|
}
|
|
304
304
|
function renderToHtml(node, parentContext) {
|
|
305
305
|
var _a;
|
|
306
|
-
if (!isRichTextNode(node))
|
|
307
|
-
return "";
|
|
306
|
+
if (!isRichTextNode(node)) return "";
|
|
308
307
|
const context = initializeRenderContext(node, parentContext);
|
|
309
308
|
let renderer = (_a = context.resolveRenderer) == null ? void 0 : _a.call(context, context);
|
|
310
309
|
if (typeof renderer === "undefined") {
|
|
@@ -362,8 +361,7 @@ function initializeRenderContext2(node, parentContext) {
|
|
|
362
361
|
}
|
|
363
362
|
function renderToText(node, parentContext) {
|
|
364
363
|
var _a;
|
|
365
|
-
if (!isRichTextNode(node))
|
|
366
|
-
return "";
|
|
364
|
+
if (!isRichTextNode(node)) return "";
|
|
367
365
|
const context = initializeRenderContext2(node, parentContext);
|
|
368
366
|
let renderer = (_a = context.resolveRenderer) == null ? void 0 : _a.call(context, context);
|
|
369
367
|
if (typeof renderer === "undefined") {
|
package/dist/index.mjs
CHANGED
|
@@ -248,8 +248,7 @@ function initializeRenderContext(node, parentContext) {
|
|
|
248
248
|
}
|
|
249
249
|
function renderToHtml(node, parentContext) {
|
|
250
250
|
var _a;
|
|
251
|
-
if (!isRichTextNode(node))
|
|
252
|
-
return "";
|
|
251
|
+
if (!isRichTextNode(node)) return "";
|
|
253
252
|
const context = initializeRenderContext(node, parentContext);
|
|
254
253
|
let renderer = (_a = context.resolveRenderer) == null ? void 0 : _a.call(context, context);
|
|
255
254
|
if (typeof renderer === "undefined") {
|
|
@@ -307,8 +306,7 @@ function initializeRenderContext2(node, parentContext) {
|
|
|
307
306
|
}
|
|
308
307
|
function renderToText(node, parentContext) {
|
|
309
308
|
var _a;
|
|
310
|
-
if (!isRichTextNode(node))
|
|
311
|
-
return "";
|
|
309
|
+
if (!isRichTextNode(node)) return "";
|
|
312
310
|
const context = initializeRenderContext2(node, parentContext);
|
|
313
311
|
let renderer = (_a = context.resolveRenderer) == null ? void 0 : _a.call(context, context);
|
|
314
312
|
if (typeof renderer === "undefined") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/richtext",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.166.1",
|
|
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.12.0",
|
|
46
46
|
"@lexical/list": "^0.12.0",
|
|
47
47
|
"@lexical/rich-text": "^0.12.0",
|
|
48
|
-
"@uniformdev/canvas": "^19.
|
|
48
|
+
"@uniformdev/canvas": "^19.166.1",
|
|
49
49
|
"lexical": "^0.12.0"
|
|
50
50
|
},
|
|
51
51
|
"files": [
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "d6a92d76bb91fa41a51cf27a69d81e0cc985f80f"
|
|
58
58
|
}
|