Skip to content

Commit

Permalink
Revert "CW-2031 Fixed issue with emoji adds to end"
Browse files Browse the repository at this point in the history
This reverts commit 69b4a82.
  • Loading branch information
MeyerPV committed Sep 25, 2023
1 parent 69b4a82 commit d6b441d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shared/ui-kit/TextEditor/BaseTextEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ const BaseTextEditor: FC<TextEditorProps> = (props) => {
containerClassName={emojiContainerClassName}
pickerContainerClassName={emojiPickerContainerClassName}
onEmojiSelect={(emoji) => {
Transforms.select(editor, EditorSlate.end(editor, []));
insertEmoji(editor, emoji.native);
}}
/>
Expand Down

0 comments on commit d6b441d

Please sign in to comment.