From 6b5df6584a848c491e061332289227f3ccba914b Mon Sep 17 00:00:00 2001 From: Anton Alexeyev Date: Wed, 7 May 2025 15:38:58 +0700 Subject: [PATCH] Fix wrong node insertion Signed-off-by: Anton Alexeyev --- packages/ui-next/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui-next/src/utils.ts b/packages/ui-next/src/utils.ts index 349868c63d..04b8776d15 100644 --- a/packages/ui-next/src/utils.ts +++ b/packages/ui-next/src/utils.ts @@ -39,7 +39,7 @@ export const defaultMessageInputActions: TextInputAction[] = [ return } - editorHandler.insertText(emoji.text) + editorHandler.insertEmoji(emoji.text) editorHandler.focus() }, () => {}