Skip to content

<details> support for 'name' attribute #68962

@adamk1ng

Description

@adamk1ng

What problem does this address?

The <details> disclosure element supports a name attribute, which allows details to be grouped so that only one details element is open at a time.

This is not supported by the Guttenburg editor, and applying the name attribute via the Code Editor results in the Block contains unexpected or invalid content. error. Therefore, site administrators must choose between user-friendly reading and user-friendly page editing when using <details>.

What is your proposed solution?

Implement support for the name attribute.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions