Mention bug when pressing return
See original GitHub issueOn the simple example: https://www.draft-js-plugins.com/plugin/mention
If you type @NikGrif (select the mention) then type some random text and hit return rather than going to a new line it’ll enter “Nik Grif” into the text editor again.
This seemed to be introduced when I upgraded to the latest versions of all the plugins so guessing a recent PR. I haven’t had a chance to look into it yet.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Pressing enter moves the last character to a new line when ...
Update: This is editor's bug. In a plain contenteditable selection is also behind the character, but after pressing Enter it moves properly ...
Read more >how to mention a JIRA issue in the description or comment ...
Just Type in the Ticket number GG-22 and press CTRL + K, and select the link. Clicking the link icon in the toolbar...
Read more >Solved: Re: Strange Glitch When Pressing Enter Key
Everything was working fine until a moment ago. Here is a description of the problem: When I type code into the function box,...
Read more >Pressing Enter deletes text typed - Forum Bugs and Issues
When typing text as in this post here, I will press enter to make a new paragraph and quite often especially when using...
Read more >My Enter Key isn't working with android apps
My Enter Key isn't working with android apps. An example of the problem would be in slack. When I type my message I...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

There is a PR open to fix this issue: https://github.com/draft-js-plugins/draft-js-plugins/pull/706
It has been working for us quite well.
Merged and released with 2.0.0-beta11!