@mdxeditor/editor 2.13.1 → 2.13.2

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.
@@ -5,6 +5,7 @@ import { ContentEditable } from "@lexical/react/LexicalContentEditable.js";
5
5
  import LexicalErrorBoundary from "@lexical/react/LexicalErrorBoundary.js";
6
6
  import { LexicalNestedComposer } from "@lexical/react/LexicalNestedComposer.js";
7
7
  import { RichTextPlugin } from "@lexical/react/LexicalRichTextPlugin.js";
8
+ import classNames from "classnames";
8
9
  import { lexicalTheme } from "../../styles/lexicalTheme.js";
9
10
  import { exportLexicalTreeToMdast } from "../../exportMarkdownFromLexical.js";
10
11
  import { importMdastTreeToLexical } from "../../importMarkdownToLexical.js";
@@ -186,7 +187,7 @@ const NestedLexicalEditor = function(props) {
186
187
  return /* @__PURE__ */ React__default.createElement(LexicalNestedComposer, { initialEditor: editor }, /* @__PURE__ */ React__default.createElement(
187
188
  RichTextPlugin,
188
189
  {
189
- contentEditable: /* @__PURE__ */ React__default.createElement(ContentEditable, { ...contentEditableProps, className: styles.nestedEditor }),
190
+ contentEditable: /* @__PURE__ */ React__default.createElement(ContentEditable, { ...contentEditableProps, className: classNames(styles.nestedEditor, contentEditableProps == null ? void 0 : contentEditableProps.className) }),
190
191
  placeholder: null,
191
192
  ErrorBoundary: LexicalErrorBoundary
192
193
  }
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "*.css"
12
12
  ],
13
13
  "type": "module",
14
- "version": "2.13.1",
14
+ "version": "2.13.2",
15
15
  "description": "React component for rich text markdown editing",
16
16
  "scripts": {
17
17
  "build": "vite build",