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 Title block: Letter case setting in the editor doesn't work when it's a link #65297

Closed
2 tasks done
iamtakashi opened this issue Sep 12, 2024 · 2 comments
Closed
2 tasks done
Labels
[Type] Bug An existing feature does not function as intended

Comments

@iamtakashi
Copy link

Description

This is probably related to #64911, #65169, and #41725.

I also noticed an issue with the post title block.

Step-by-step reproduction instructions

In the theme.json the theme has this:

"core/post-title": {
	"typography": {
		"textTransform": "uppercase"
	}
}

In the editor, the user changes the letter case setting to lowercase.

CleanShot 2024-09-12 at 18 14 45@2x

It looks good in the editor, but when you see it on the front of the site, it stays uppercase since it's overridden by the style applied to the link.

CleanShot 2024-09-12 at 18 22 46@2x

If the post title isn't a link, the latter case setting is applied correctly.

CleanShot 2024-09-12 at 18 28 42@2x

Screenshots, screen recording, code snippet

No response

Environment info

WP: 6.6.2
Gutenberg: Trunk

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
@iamtakashi iamtakashi added the [Type] Bug An existing feature does not function as intended label Sep 12, 2024
@andrewserong
Copy link
Contributor

This might be fixed by #65307 if you'd like to give it a test!

@ntsekouras
Copy link
Contributor

I couldn't reproduce and it seems fixed. Closing, but feel free to reopen if I missed to test a specific use case..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants