Describe the bug
Pressing Enter twice when adding a link to text makes the linked text disappear and adds a new block.
To Reproduce
- Start a new post in Gutenberg
- Write something random in a paragraph block
- Select part of that text and click the Link button in the toolbar
- Enter some link in the field
- Press Enter - the link is 'confirmed'
- Press Enter again - the linked text disappears, and anything that came after it is pushed into a new block.
- Pressing CTRL-Z then puts back the linked text, but duplicates what came after, and doesn't remove the new block.
Expected behavior
I'm not entirely sure, I think I would prefer pressing Enter just once to confirm the link and then close the popover with the edit button. At least to be able to press Escape to close that popover. At the least for the second Enter to close the popover and do nothing else.
Screenshots

Gutenberg 3.2
Chrome 67.0.3396.99
MacOS 10.13.5
Describe the bug
Pressing Enter twice when adding a link to text makes the linked text disappear and adds a new block.
To Reproduce
Expected behavior
I'm not entirely sure, I think I would prefer pressing Enter just once to confirm the link and then close the popover with the edit button. At least to be able to press Escape to close that popover. At the least for the second Enter to close the popover and do nothing else.
Screenshots

Gutenberg 3.2
Chrome 67.0.3396.99
MacOS 10.13.5