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

<details> support for 'name' attribute #68962

Closed
adamk1ng opened this issue Jan 30, 2025 · 1 comment
Closed

<details> support for 'name' attribute #68962

adamk1ng opened this issue Jan 30, 2025 · 1 comment
Labels
[Type] Enhancement A suggestion for improvement.

Comments

@adamk1ng
Copy link

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.

@adamk1ng adamk1ng added the [Type] Enhancement A suggestion for improvement. label Jan 30, 2025
@hanneslsm
Copy link

hanneslsm commented Jan 30, 2025

This is not supported by the Guttenburg editor

It will be in Gutenberg 20.2.0 #56971

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants