diff --git a/src/app/components/editor/Editor.preview.tsx b/src/app/components/editor/Editor.preview.tsx index b760dddcb..92371f8f3 100644 --- a/src/app/components/editor/Editor.preview.tsx +++ b/src/app/components/editor/Editor.preview.tsx @@ -23,7 +23,7 @@ export function EditorPreview() { return ( <> - setOpen(!open)}> + setOpen(!open)}> }> @@ -42,7 +42,7 @@ export function EditorPreview() { editor={editor} placeholder="Send a message..." before={ - + } @@ -53,14 +53,15 @@ export function EditorPreview() { size="300" radii="300" onClick={() => setToolbar(!toolbar)} + aria-label={toolbar ? 'Hide formatting toolbar' : 'Show formatting toolbar'} aria-pressed={toolbar} > - + - +