@elementor/editor-controls 3.35.0-334 → 3.35.0-336
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/components/inline-editor.tsx +4 -1
package/dist/index.mjs
CHANGED
|
@@ -6186,7 +6186,7 @@ var useOnUpdate = (callback, dependencies) => {
|
|
|
6186
6186
|
}, dependencies);
|
|
6187
6187
|
};
|
|
6188
6188
|
var InlineEditor = React101.forwardRef(
|
|
6189
|
-
({ value, setValue, attributes = {}, showToolbar = false, sx }, ref) => {
|
|
6189
|
+
({ value, setValue, attributes = {}, showToolbar = false, sx, ...props }, ref) => {
|
|
6190
6190
|
const editor = useEditor({
|
|
6191
6191
|
extensions: [
|
|
6192
6192
|
Document.extend({
|
|
@@ -6251,7 +6251,8 @@ var InlineEditor = React101.forwardRef(
|
|
|
6251
6251
|
},
|
|
6252
6252
|
...sx
|
|
6253
6253
|
},
|
|
6254
|
-
...attributes
|
|
6254
|
+
...attributes,
|
|
6255
|
+
...props
|
|
6255
6256
|
},
|
|
6256
6257
|
showToolbar && /* @__PURE__ */ React101.createElement(InlineEditorToolbar, { editor }),
|
|
6257
6258
|
/* @__PURE__ */ React101.createElement(EditorContent, { editor })
|