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

Links in certain blocks respect the custom font size set in Styles rather than the custom font size set at the individual block level #96718

Open
hacchism opened this issue Nov 25, 2024 · 2 comments
Labels
[Feature] Full Site Editor The site editor. [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. Needs triage Ticket needs to be triaged [Product] WordPress.com All features accessible on and related to WordPress.com. [Status] Escalated to Product Ambassadors [Type] Bug When a feature is broken and / or not performing as intended

Comments

@hacchism
Copy link

hacchism commented Nov 25, 2024

Quick summary

If custom font size is set for Links in Styles, that overrides the custom font size set for certain blocks (i.e. Paragraph Block, Heading Block, Navigation Block, or Social Icons Block).

Steps to reproduce

I'm writing details on how to replicate the issue with Paragraph Block as an example, but a similar issue can be replicated with other blocks like Heading Block, Navigation Block, or Social Icons Block.

  1. Activate one of the FSE themes.
  2. Go to Appearance > Editor > Styles and set custom font size for Links.
  3. Create a new page and add a Paragraph Block.
  4. Write some text and make a part of it a text link.
  5. Set custom font size for the Paragraph Block.

What you expected to happen

Both the normal text and the text link in the paragraph shows up with the custom font size set for the particular Paragraph block as follows:

Image

What actually happened

Only the text link shows up smaller respecting the Small custom font size set in Styles as follows:

Image

Impact

Some (< 50%)

Available workarounds?

No but the platform is still usable

If the above answer is "Yes...", outline the workaround.

No response

Platform (Simple and/or Atomic)

No response

Logs or notes

No response

@hacchism hacchism added [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. [Feature] Full Site Editor The site editor. [Product] WordPress.com All features accessible on and related to WordPress.com. [Type] Bug When a feature is broken and / or not performing as intended Needs triage Ticket needs to be triaged labels Nov 25, 2024
@hacchism hacchism changed the title Links in certain blocks respects the custom font size set in Styles rather than the custom font size set at the individual block level Links in certain blocks respect the custom font size set in Styles rather than the custom font size set at the individual block level Nov 25, 2024
@github-actions github-actions bot added the [Pri] High Address as soon as possible after BLOCKER issues label Nov 25, 2024
@vykes-mac vykes-mac self-assigned this Nov 25, 2024
@vykes-mac
Copy link
Contributor

vykes-mac commented Nov 25, 2024

I was able to reproduce the issue. This is not dotcom specific the behaviour is the same in the default gutenberg editor.

more discussion in slack p1732576483908169-slack-C45SNKV4Z

@vykes-mac vykes-mac moved this from Needs Triage to Triaged in Automattic Prioritization: The One Board ™ Nov 25, 2024
@vykes-mac vykes-mac removed the [Pri] High Address as soon as possible after BLOCKER issues label Nov 25, 2024
@vykes-mac
Copy link
Contributor

There is also a similar issue already reported in gutenberg WordPress/gutenberg#67133. This seem to affect a lot of blocks that may include a link.

@vykes-mac vykes-mac removed their assignment Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Full Site Editor The site editor. [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. Needs triage Ticket needs to be triaged [Product] WordPress.com All features accessible on and related to WordPress.com. [Status] Escalated to Product Ambassadors [Type] Bug When a feature is broken and / or not performing as intended
Projects
Development

No branches or pull requests

2 participants