Skip to content

Details Block: typography changes to summary should be separate from "answer" [open] blocks #66767

@bradhogan

Description

@bradhogan

Description

Right now, you cannot adjust the typography of the summary (e.g. question) of the details block. A change to the type options for the summary get applied throughout the "answer" portion of the block too.

Step-by-step reproduction instructions

  1. add details block
  2. add summary text
  3. add a few sentences / paragraphs to the answer portion
  4. try to change the font size for the summary and note that those sizes are used in the answer portion too

Screenshots, screen recording, code snippet

No response

Environment info

  • wp 6.6.2
  • gutenberg 19.6.0-rc.2
  • chrome
  • mac

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] DetailsAffects the Details Block - used to display content which can be shown/hidden[Type] BugAn existing feature does not function as intended

    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