@ethberry/mui-lexical 1.0.19 → 1.0.20
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/display/index.js +1 -1
- package/dist/editor/Editor.js +1 -1
- package/dist/editor/index.d.ts +1 -0
- package/dist/editor/index.js +6 -1
- package/dist/editor/index.js.map +1 -1
- package/dist/editor/nodes/MuiLexicalNodes.d.ts +2 -0
- package/dist/editor/nodes/{PlaygroundNodes.js → MuiLexicalNodes.js} +3 -3
- package/dist/editor/nodes/{PlaygroundNodes.js.map → MuiLexicalNodes.js.map} +1 -1
- package/dist/editor/nodes/index.d.ts +1 -1
- package/dist/editor/nodes/index.js +1 -1
- package/package.json +1 -1
- package/dist/editor/nodes/PlaygroundNodes.d.ts +0 -2
package/dist/display/index.js
CHANGED
|
@@ -32,7 +32,7 @@ const Display = (props) => {
|
|
|
32
32
|
const initialConfig = {
|
|
33
33
|
namespace: "Display",
|
|
34
34
|
theme: playgroundEditorTheme_1.playgroundEditorTheme,
|
|
35
|
-
nodes: [...nodes_1.
|
|
35
|
+
nodes: [...nodes_1.MuiLexicalNodes],
|
|
36
36
|
editable: false,
|
|
37
37
|
onError: (error) => {
|
|
38
38
|
console.error(error);
|
package/dist/editor/Editor.js
CHANGED
package/dist/editor/index.d.ts
CHANGED
package/dist/editor/index.js
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Editor = void 0;
|
|
3
|
+
exports.MuiLexicalNodes = exports.InlineImageNode = exports.ImageNode = exports.VideoNode = exports.Editor = void 0;
|
|
4
4
|
var Editor_1 = require("./Editor");
|
|
5
5
|
Object.defineProperty(exports, "Editor", { enumerable: true, get: function () { return Editor_1.Editor; } });
|
|
6
|
+
var nodes_1 = require("./nodes");
|
|
7
|
+
Object.defineProperty(exports, "VideoNode", { enumerable: true, get: function () { return nodes_1.VideoNode; } });
|
|
8
|
+
Object.defineProperty(exports, "ImageNode", { enumerable: true, get: function () { return nodes_1.ImageNode; } });
|
|
9
|
+
Object.defineProperty(exports, "InlineImageNode", { enumerable: true, get: function () { return nodes_1.InlineImageNode; } });
|
|
10
|
+
Object.defineProperty(exports, "MuiLexicalNodes", { enumerable: true, get: function () { return nodes_1.MuiLexicalNodes; } });
|
|
6
11
|
//# sourceMappingURL=index.js.map
|
package/dist/editor/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/editor/index.ts"],"names":[],"mappings":";;;AAAA,mCAAqD;AAA5C,gGAAA,MAAM,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/editor/index.ts"],"names":[],"mappings":";;;AAAA,mCAAqD;AAA5C,gGAAA,MAAM,OAAA;AACf,iCAAiF;AAAxE,kGAAA,SAAS,OAAA;AAAE,kGAAA,SAAS,OAAA;AAAE,wGAAA,eAAe,OAAA;AAAE,wGAAA,eAAe,OAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.MuiLexicalNodes = void 0;
|
|
4
4
|
const code_1 = require("@lexical/code");
|
|
5
5
|
const link_1 = require("@lexical/link");
|
|
6
6
|
const list_1 = require("@lexical/list");
|
|
@@ -11,7 +11,7 @@ const table_1 = require("@lexical/table");
|
|
|
11
11
|
const Image_1 = require("./Image");
|
|
12
12
|
const InlineImage_1 = require("./InlineImage");
|
|
13
13
|
const Video_1 = require("./Video");
|
|
14
|
-
exports.
|
|
14
|
+
exports.MuiLexicalNodes = [
|
|
15
15
|
rich_text_1.HeadingNode,
|
|
16
16
|
list_1.ListNode,
|
|
17
17
|
list_1.ListItemNode,
|
|
@@ -29,4 +29,4 @@ exports.PlaygroundNodes = [
|
|
|
29
29
|
LexicalHorizontalRuleNode_1.HorizontalRuleNode,
|
|
30
30
|
Video_1.VideoNode,
|
|
31
31
|
];
|
|
32
|
-
//# sourceMappingURL=
|
|
32
|
+
//# sourceMappingURL=MuiLexicalNodes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"MuiLexicalNodes.js","sourceRoot":"","sources":["../../../src/editor/nodes/MuiLexicalNodes.ts"],"names":[],"mappings":";;;AACA,wCAA4D;AAC5D,wCAAuD;AACvD,wCAAuD;AACvD,gDAAiD;AACjD,wFAA8E;AAC9E,kDAA4D;AAC5D,0CAAwE;AAExE,mCAAoC;AACpC,+CAAgD;AAChD,mCAAoC;AAEvB,QAAA,eAAe,GAA8B;IACxD,uBAAW;IACX,eAAQ;IACR,mBAAY;IACZ,qBAAS;IACT,eAAQ;IACR,iBAAS;IACT,qBAAa;IACb,oBAAY;IACZ,wBAAiB;IACjB,mBAAY;IACZ,eAAQ;IACR,uBAAY;IACZ,iBAAS;IACT,6BAAe;IACf,8CAAkB;IAClB,iBAAS;CACV,CAAC"}
|
|
@@ -17,5 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./Video"), exports);
|
|
18
18
|
__exportStar(require("./InlineImage"), exports);
|
|
19
19
|
__exportStar(require("./Image"), exports);
|
|
20
|
-
__exportStar(require("./
|
|
20
|
+
__exportStar(require("./MuiLexicalNodes"), exports);
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED