Skip to content

Global Styles: Setting font size for Paragraph impacts Quote Block #38686

Description

@annezazu

Description

Similar to this prior issue #37388, if you change the font size in styles for the paragraph block, it impacts the quote block as well. This is likely due to how quotes include <p> within:

<blockquote class="wp-block-quote"><p>This is the quote</p><cite>And Cite</cite></blockquote>

Step-by-step reproduction instructions

  1. Open to the site editor
  2. Add a paragraph block.
  3. Add a quote block with a caption.
  4. Open Styles > Blocks > Paragraph > Typography > Change font size.
  5. See both change.

Screenshots, screen recording, code snippet

font.size.paragraph.mov

Environment info

  • WordPress 5.9
  • Happens with Gutenberg 12.5.4 and without
  • MacOS
  • TT2
  • Chrome

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

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Block] ParagraphAffects the Paragraph Block[Block] QuoteAffects the Quote Block

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions