diff --git a/packages/react-ui-lib/src/editor/common/editor-canvas.tsx b/packages/react-ui-lib/src/editor/common/editor-canvas.tsx index fbc420230..89e8eb69f 100644 --- a/packages/react-ui-lib/src/editor/common/editor-canvas.tsx +++ b/packages/react-ui-lib/src/editor/common/editor-canvas.tsx @@ -18,8 +18,8 @@ export const EditorCanvas = memo(

({ }: EditorCanvasProps

) => { return ( -

- +
+ {children}
) diff --git a/packages/react-ui-lib/src/editor/common/editor-editable-canvas.tsx b/packages/react-ui-lib/src/editor/common/editor-editable-canvas.tsx index c44e1017c..cace82582 100644 --- a/packages/react-ui-lib/src/editor/common/editor-editable-canvas.tsx +++ b/packages/react-ui-lib/src/editor/common/editor-editable-canvas.tsx @@ -8,7 +8,7 @@ export interface EditorEditableCanvasProps extends EditableProps { } -export const EditorEditableCanvas = ({ className, ...editableProps }: EditorEditableCanvasProps) => { +export const EditorEditableCanvas = (editableProps: EditorEditableCanvasProps) => { const editor = useSlate() const pathRef = useRef(undefined)