Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Linebreak in lists do not work correctly #284

@d-e-v-esh

Description

@d-e-v-esh

Bug Report 🐛

When we press Enter in the middle of a sentence inside of a list, instead of pushing the rest of the sentence to the new line, it inserts a new line and then pushes the rest of the sentence to the new line which creates an extra unneeded line that can be very annoying at times for the user.

Expected Behavior

It should push the rest of the text to the next number without inserting an extra new line
z46wT6RZtq

Current Behavior

It inserts a new line and then pushes the rest of the paragraph to the next number.

i5wYoJlNwG

Possible Solution

Steps to Reproduce

  1. Paste a sample paragraph into the editor.
  2. Click on the numbered list button in the toolbar
  3. Now that the entire paragraph is under number 1 in the list, go to the end of the first line and press Enter
  4. You would see an extra line that should not be there.

Context (Environment)

Desktop

  • OS: Windows 10
  • Browser: Chrome
  • Version 88.0.4324.182 (Official Build) (64-bit)

Detailed Description

Possible Implementation

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions