question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mention bug when pressing return

See original GitHub issue

On 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:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
mbseidcommented, Apr 11, 2017

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.

0reactions
nikgrafcommented, May 8, 2017

Merged and released with 2.0.0-beta11!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found