@flozy/editor 1.3.4 → 1.3.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,7 +60,8 @@ const CommonEditor = /*#__PURE__*/forwardRef((props, ref) => {
60
60
  needDotsBG,
61
61
  footer,
62
62
  needLayout = true,
63
- CHARACTERS = []
63
+ CHARACTERS = [],
64
+ editorClass
64
65
  } = otherProps || {};
65
66
  const editor = useMemo(() => {
66
67
  if (collaborativeEditor) return collaborativeEditor;
@@ -234,7 +235,7 @@ const CommonEditor = /*#__PURE__*/forwardRef((props, ref) => {
234
235
  fullScreen: fullScreen,
235
236
  footer: footer || "",
236
237
  children: /*#__PURE__*/_jsx("div", {
237
- className: "editor-t-wrapper",
238
+ className: `editor-t-wrapper ${editorClass || ""}`,
238
239
  style: {
239
240
  display: "flex",
240
241
  flexDirection: "column",