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

Add support for <details> tag #14252

Closed
mukhammad-akilov opened this issue Mar 6, 2019 · 4 comments
Closed

Add support for <details> tag #14252

mukhammad-akilov opened this issue Mar 6, 2019 · 4 comments
Labels
New Block Suggestion for a new block
Milestone

Comments

@mukhammad-akilov
Copy link

It would be nice to have such an opportunity.

@Soean
Copy link
Member

Soean commented Mar 6, 2019

IE and Edge don't support this tag: https://caniuse.com/#feat=details
More infos about this new HTML element: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details

So what you like to see in the editor is a block to toggle content?

@Soean Soean added the New Block Suggestion for a new block label Mar 6, 2019
@mukhammad-akilov
Copy link
Author

mukhammad-akilov commented Mar 6, 2019

IE is already dead.
Edge is moving to Chromium
It looks good even if the browser does not support the tag
I think The block must include two elements.

  1. Title (only text)
  2. Content (must be flexible for nested block elements)

@Soean
Copy link
Member

Soean commented Mar 7, 2019

We still support IE 11, see in the handbook, so we can't use the native <details> HTML tag at the moment.

@youknowriad
Copy link
Contributor

I think it's a good idea for the future, but since it's not supported by all the browsers we support at the moment, I'm going to close for now. We should definitely revisit this later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Block Suggestion for a new block
Projects
None yet
Development

No branches or pull requests

3 participants