@elementor/editor-controls 3.35.0-334 → 3.35.0-335

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.d.mts CHANGED
@@ -385,6 +385,7 @@ type InlineEditorProps = {
385
385
  attributes?: Record<string, string>;
386
386
  sx?: SxProps<Theme>;
387
387
  showToolbar?: boolean;
388
+ props?: React$1.ComponentProps<'div'>;
388
389
  };
389
390
  declare const InlineEditor: React$1.ForwardRefExoticComponent<InlineEditorProps & React$1.RefAttributes<HTMLDivElement>>;
390
391
 
package/dist/index.d.ts CHANGED
@@ -385,6 +385,7 @@ type InlineEditorProps = {
385
385
  attributes?: Record<string, string>;
386
386
  sx?: SxProps<Theme>;
387
387
  showToolbar?: boolean;
388
+ props?: React$1.ComponentProps<'div'>;
388
389
  };
389
390
  declare const InlineEditor: React$1.ForwardRefExoticComponent<InlineEditorProps & React$1.RefAttributes<HTMLDivElement>>;
390
391
 
package/dist/index.js CHANGED
@@ -6183,7 +6183,7 @@ var useOnUpdate = (callback, dependencies) => {
6183
6183
  }, dependencies);
6184
6184
  };
6185
6185
  var InlineEditor = React101.forwardRef(
6186
- ({ value, setValue, attributes = {}, showToolbar = false, sx }, ref) => {
6186
+ ({ value, setValue, attributes = {}, showToolbar = false, sx, ...props }, ref) => {
6187
6187
  const editor = (0, import_react56.useEditor)({
6188
6188
  extensions: [
6189
6189
  import_extension_document.default.extend({
@@ -6248,7 +6248,8 @@ var InlineEditor = React101.forwardRef(
6248
6248
  },
6249
6249
  ...sx
6250
6250
  },
6251
- ...attributes
6251
+ ...attributes,
6252
+ ...props
6252
6253
  },
6253
6254
  showToolbar && /* @__PURE__ */ React101.createElement(InlineEditorToolbar, { editor }),
6254
6255
  /* @__PURE__ */ React101.createElement(import_react56.EditorContent, { editor })