Skip to content

Highlighted colors are not applied when pasting styles #73052

@mmtr

Description

@mmtr

Description

When pasting styles between blocks, individual text highlight colors (applied via More > Highlight > Select color) are not copied.

Step-by-step reproduction instructions

  • Insert two list blocks
  • Change the background color of the first list block
  • Use the "More > Highlight > Select color" option on change the text color of the first list block
  • Open the List View and select the first list block
  • Click the "More > Copy styles" option
  • Select the second list block
  • Click the "More > Paste styles" option
  • Note how only the background color is copied; the highlight colors are missing

Screenshots, screen recording, code snippet

Screen.Recording.2025-11-06.at.15.37.56.mov

Environment info

Tested in https://playground.wordpress.net/ with Gutenberg v22.0.0

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions