Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post Terms block: The color of the prefix and suffix format is different from the normal display #68742

Open
3 of 6 tasks
shimotmk opened this issue Jan 17, 2025 · 1 comment · May be fixed by #68810
Open
3 of 6 tasks
Labels
[Block] Post Terms Affects the Post Terms Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@shimotmk
Copy link
Contributor

Description

Post Terms block: The color of the prefix and suffix format is different from the normal display.

Labels

[Block] Post Terms

Step-by-step reproduction instructions

  1. Open a post or page.
  2. Insert a Post Terms block.
  3. Set the Prefix to a Color from the toolbar.
  4. When you look at the front you can see that the Background is not being rendered.

wp_kses_post prevents the addition of style tags.

wp_kses_post was added below, but it works as expected when removed

#40803

Screenshots, screen recording, code snippet

post-term.mp4

Environment info

  • WordPress 6.7.1

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
@shimotmk shimotmk added the [Type] Bug An existing feature does not function as intended label Jan 17, 2025
@kartikmehta8
Copy link

I would love to work on this. Can you assign?

@t-hamano t-hamano added the [Block] Post Terms Affects the Post Terms Block label Jan 17, 2025
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Post Terms Affects the Post Terms Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants