Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

A selection hit by ENTER doesn't delete selected text and doesn't create a new line #233

Closed
nimi09 opened this issue May 6, 2020 · 1 comment
Labels
type: bug 🐛 Issue is a bug; PR is a bugfix

Comments

@nimi09
Copy link

nimi09 commented May 6, 2020

Describe the bug
If you select a space character, or a word, and you press enter, the text doesn't get deleted, but instead a new Block gets created above

To Reproduce
Select some characters and press Enter

Expected behavior
By pressing Enter I expect the selection to be replaced with a new line, for the current Block. I don't expect a new Block.

Editor Version
1.0.2

(I am not sure if this is a bug or a feature request, but it's not the expected behavior )

@bastianallgeier bastianallgeier added the type: bug 🐛 Issue is a bug; PR is a bugfix label Jun 24, 2020
bastianallgeier added a commit that referenced this issue Jul 6, 2020
@bastianallgeier
Copy link
Member

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug 🐛 Issue is a bug; PR is a bugfix
Projects
None yet
Development

No branches or pull requests

2 participants