Skip to content

Block Splitting/Appending: consider retaining styles from previous block #75601

@talldan

Description

@talldan

Description

(Not sure if this can be considered a bug or enhancement.)

When hitting enter at the end of a paragraph that has particular styles or alignment applied, those styles are not applied to the next inserted paragraph. This can make editing a little slow, the user is forced to reapply styles to new blocks, and it's especially noticable when adding to existing content, like that from a pattern:

Kapture.2026-02-17.at.15.21.25.mp4

Should the existing styles be retained? This is something that does already happen when a paragraph is split in the middle of content, but perhaps there are additional considerations when a paragraph is split at the end.

Step-by-step reproduction instructions

  1. Add a paragraph
  2. Align it centrally, change the font size
  3. Type some text
  4. Hit enter
  5. Observe that the next paragraph doesn't have those styles.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs Design FeedbackNeeds general design feedback.[Feature] Writing FlowBlock selection, navigation, splitting, merging, deletion...[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions