Skip to content

WP 6.6 RC 1: Freeform CSS Specificity when non-iframe editor #62892

Open

Description

Description

It’s about core/freeform CSS in the case of a non-iframe editor that added a meta box with PHP.
(I added a custom field with Advanced Custom Field)

I read an article about “WordPress 6.6 CSS Specificity“, but is the core/freeform style of the non-iframe editor not applicable?

For example:

.wp-block-freeform.block-library-rich-text__tinymce a {
    color: var(--wp-admin-theme-color);
}

Thanks

Step-by-step reproduction instructions

  1. Create a meta box (I used Advanced Custom Filed).
  2. Make sure the editor is not an iframe.
  3. Create link text in a block in core/freeform.
  4. Check the CSS applied to the link text.

Screenshots, screen recording, code snippet

image

Environment info

  • WordPress: 6.6-RC1
  • PHP: 8.1.23
  • Server: nginx/1.16.0
  • Database: mysqli (Server: 8.0.16 / Client: mysqlnd 8.1.23)
  • Browser: Chrome 126.0.0.0 (Windows 10/11)
  • Theme: Twenty Twenty-One 2.2
  • Plugins:
    • Advanced Custom Fields 6.3.2
    • WordPress Beta Tester 3.5.5

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

Yes

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

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    CSS StylingRelated to editor and front end styles, CSS-specific issues.[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions