Skip to content

Commit b26acfc

Browse files
committed
fix: richtext disabled not work
1 parent 21547f5 commit b26acfc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react/v2/components/compound/editor/components/rich-text-editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const RichTextEditor = (props: RichTextEditorProps) => {
4141
}, [editor, props.value, props.isDisabled])
4242

4343
return (
44-
<div className="flex flex-col gap-y-4" data-invalid={true}>
44+
<div className="flex flex-col gap-y-4 w-full" data-invalid={true}>
4545
<EditorProvider
4646
{...props.editorProviderProps}
4747
editor={editor}

0 commit comments

Comments
 (0)