Remove emoji key from buttons to be rendered in the Editor test util

This commit is contained in:
David Langley 2025-09-17 18:56:02 +01:00
parent 4adaa3041e
commit 8d40c19298

View file

@ -44,7 +44,8 @@ export const Editor = forwardRef<HTMLDivElement, EditorProps>(function Editor(
key !== 'mention' &&
key !== 'command' &&
key !== 'indent' &&
key !== 'unindent',
key !== 'unindent' &&
key !== `emoji`,
) as Array<
Exclude<
keyof typeof wysiwyg,
@ -57,6 +58,7 @@ export const Editor = forwardRef<HTMLDivElement, EditorProps>(function Editor(
| 'indent'
| 'unindent'
| 'mentionAtRoom'
| 'emoji'
>
>;