@mdxeditor/editor 3.42.0 → 3.43.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.
@@ -81,7 +81,8 @@ const NestedLexicalEditor = function(props) {
81
81
  const [editor] = React__default.useState(() => {
82
82
  const editor2 = createEditor({
83
83
  nodes: usedLexicalNodes,
84
- theme: realm.getValue(lexicalTheme$)
84
+ theme: realm.getValue(lexicalTheme$),
85
+ namespace: "NestedEditor"
85
86
  });
86
87
  return editor2;
87
88
  });
@@ -232,7 +232,8 @@ const CellEditor = ({ focus, setActiveCell, parentEditor, lexicalTable, contents
232
232
  const [editor] = React__default.useState(() => {
233
233
  const editor2 = createEditor({
234
234
  nodes: usedLexicalNodes,
235
- theme: lexicalTheme
235
+ theme: lexicalTheme,
236
+ namespace: "TableCellEditor"
236
237
  });
237
238
  editor2.update(() => {
238
239
  importMdastTreeToLexical({
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "*.css"
12
12
  ],
13
13
  "type": "module",
14
- "version": "3.42.0",
14
+ "version": "3.43.0",
15
15
  "description": "React component for rich text markdown editing",
16
16
  "scripts": {
17
17
  "build": "vite build",