mirror of
https://github.com/element-hq/matrix-rich-text-editor.git
synced 2026-01-11 19:46:33 +00:00
Remove emoji key from buttons to be rendered in the Editor test util
This commit is contained in:
parent
4adaa3041e
commit
8d40c19298
1 changed files with 3 additions and 1 deletions
|
|
@ -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'
|
||||
>
|
||||
>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue