Skip to content

Double Shift+Enter should preserve selection attributes. #19853

Closed

Description

@arkflpc

📝 Provide detailed reproduction steps (if any)

  1. Write some text with bold (any basic formatting or font properties).
  2. Type Shift+Enter twice.
  3. Continue writing text (still bolded).
  4. Move the caret one line above and write text.

✔️ Expected result

Text written in 4rd step should be bold.

❌ Actual result

Text written in 4rd step is not bold.

❓ Possible solution

If you have ideas, you can list them here. Otherwise, you can delete this section.

📃 Other details

  • Browser: …
  • OS: …
  • First affected CKEditor version: …
  • Installed CKEditor plugins: …

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

Activity

  1. added
    type:bugThis issue reports a buggy (incorrect) behavior.
    on Feb 26, 2026
  2. self-assigned this
    on Feb 26, 2026
  3. added
    squad:coreIssue to be handled by the Core team.
    on Mar 5, 2026
  4. niegowski commented on Mar 11, 2026

    @niegowski
    Contributor

    This issue reminds me of #1068. Maybe we should align the soft break element to accept text attributes like all other inline objects. This might help with selection attributes inheriting attributes from the soft-break itself (plain formatting attributes, not the selection: ones).

  5. assigned and unassigned on Apr 1, 2026
  6. added this to the iteration 98 milestone on Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

squad:coreIssue to be handled by the Core team.support:2An 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