Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing [ENTER] followed by [BACKSPACE] cause adding nested paragraphs inside current paragraph #1473

Open
adamsarek opened this issue Nov 6, 2024 · 0 comments
Labels
Milestone

Comments

@adamsarek
Copy link

adamsarek commented Nov 6, 2024

Describe the bug
After pressing [ENTER] followed by [BACKSPACE] it creates another nested paragraph inside current paragraph.

To Reproduce
Steps to reproduce the behavior:

  1. Empty editor
  2. Press [ENTER]
  3. Press [BACKSPACE]
  4. It creates nested paragraph inside current paragraph
  5. Press [ENTER]
  6. Press [BACKSPACE]
  7. It creates another nested paragraph inside current paragraph
  8. ... nesting deeper and deeper ...

Expected behavior
It should not create another nested paragraph after pressing [BACKSPACE] but just remove the paragraph where cursor was before pressing and leave the first paragraph as is.

Screenshots*
infinite_nested_paragraphs_2

Desktop

  • OS: Windows 11
  • Browser: Google Chrome
  • Version: 130.0.6723.92

Release

  • Version: v2.47.0
@JiHong88 JiHong88 added the bug label Nov 13, 2024
@JiHong88 JiHong88 added this to the 2.47.1 milestone Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants