-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Text styling bleeding into placeholder states #58151
Comments
I was thinking about this, and there are two ways I see to solve this: we either reset the CSS of the placeholder component (and we will have to do this again for every global style control that we introduce in the future that may affect the component) or we make the Global Styles CSS to target everything but the components, which is also very tricky to do, since what's affecting this is the rules we set into |
I am not sure if it is even related but the border radius on the image block is bleeding into the placeholder too. I did not discover it until yesterday but it also happens on 6.4 without Gutenberg active. Not on 6.2 or 6.3. |
It must be for different reasons, in this case, when we style the text "element" what we are adding is CSS into the body tag, which then bleeds. The image block styles are targeting something different. Do you have an issue for that? |
I noticed today that the text stying is being applied inappropriately to the placeholder states. I would expect that no text styles should bleed into the editor UI. Even text-transform is being applied (tested via #58142).
Area.mp4
The text was updated successfully, but these errors were encountered: