Skip to content

It's impossible to undo creating a list item while retaining the list marker when there is already some content in the editable #16240

Closed
@mabryl

Description

📝 Provide detailed reproduction steps (if any)

  1. Type anything into the editor (or create an empty paragraph) and create a new line
  2. Type 1. or * and hit Space to insert a list item via block autoformatting
  3. Press backspace

✔️ Expected result

The creation of the list should be undone but the marker used to create it should remain in the editable. This is the case when the newly created list item is the only piece of content:

Screen.Recording.2024-04-18.at.09.57.52.mov

❌ Actual result

When content is already present in the editable, deleting the list item will also remove the marker:

Screen.Recording.2024-04-18.at.10.00.14.mov

❓ Possible solution

This report comes from a customer. You can find their insight into the cause of the issue in the linked ticket.

📃 Other details

  • Browser: cross-browser
  • OS: cross-OS
  • First affected CKEditor version: N/A
  • Installed CKEditor plugins: Autoformat

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

Metadata

Assignees

No one assigned

    Labels

    package:autoformatsquad:coreIssue to be handled by the Core team.support:1An issue reported by a commercially licensed client.type:bugThis issue reports a buggy (incorrect) behavior.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions