You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Emoji is inserted and the search syntax that was typed, eg. :b is deleted.
Actual behavior
Emoji is inserted but search syntax is not deleted, eg. :be 🐻 . However, if I click on the selected emoji instead of using the enter key, it is inserted without issue. This occurs on both the instance I have running on electron with react and webpack and the linked online example.
Runtime
Firefox, Electron
OS
Windows, macOS
Build and bundle tools
Webpack, Vite
The text was updated successfully, but these errors were encountered:
C-FWES
changed the title
Inserting emoji from emoji menu using enter key does not delete search text in list nodes
[Bug] Inserting emoji from emoji menu using enter key does not delete search text in list nodes
Mar 12, 2024
This works well in online playground, and emoji menu isn't included in this repository, you should debug it your self. However, I think this has something to do with your state.ts, maybe get wrong editor instance?
Initial checklist
Affected packages and versions
7.3.5
Link to runnable example
https://stackblitz.com/edit/github-xjl3gc?file=components%2FEditor.tsx
Steps to reproduce
:
syntax.Expected behavior
Emoji is inserted and the search syntax that was typed, eg.
:b
is deleted.Actual behavior
Emoji is inserted but search syntax is not deleted, eg.
:be
🐻 . However, if I click on the selected emoji instead of using the enter key, it is inserted without issue. This occurs on both the instance I have running on electron with react and webpack and the linked online example.Runtime
Firefox, Electron
OS
Windows, macOS
Build and bundle tools
Webpack, Vite
The text was updated successfully, but these errors were encountered: