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 [Up / Down] followed by [ENTER] cause adding nested paragraphs inside current paragraph #1472

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

Comments

@adamsarek
Copy link

adamsarek commented Nov 6, 2024

Describe the bug
After moving to empty paragraph by Up / Down keys and pressing [ENTER] it creates a new nested paragraph inside current paragraph.

To Reproduce
Steps to reproduce the behavior:

  1. Write a line of text
  2. Press [ENTER]
  3. Write another line of text
  4. Press [ENTER]
  5. Write another line of text
  6. Go to the second line by using [UP] key
  7. Press [ENTER]
  8. Creates nested paragraph inside current paragraph
  9. Go to the fourth line by using [DOWN] key
  10. Press [ENTER]
  11. Creates nested paragraph inside current paragraph

  1. Go to the fifth line by using [RIGHT] key
  2. Press [ENTER]
  3. It does not create nested paragraph inside current paragraph

Expected behavior
It should split the current paragraph into a paragraph with the text before the cursor and a paragraph with the text after the cursor. Steps 12-14 are the expected behavior.

Screenshots
nested_paragraphs_2

Desktop

  • OS: Windows 11
  • Browser: Firefox
  • Version: 132.0

Release

  • Version: v2.47.0
@adamsarek adamsarek changed the title [Up / Down + Enter] keys cause adding nested paragraphs inside current paragraph Pressing [Up / Down] followed by [ENTER] cause adding nested paragraphs inside current paragraph Nov 6, 2024
@JiHong88 JiHong88 added this to the 2.47.1 milestone Nov 13, 2024
@JiHong88 JiHong88 added the bug label Nov 13, 2024
@JiHong88 JiHong88 closed this as completed Jan 3, 2025
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