Skip to content

Post Title block: Letter case setting in the editor doesn't work when it's a link #65297

@iamtakashi

Description

@iamtakashi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [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