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

Toggleable lists; Support for Details Summary tags. #11068

Closed
tony opened this issue Jan 4, 2022 · 4 comments
Closed

Toggleable lists; Support for Details Summary tags. #11068

tony opened this issue Jan 4, 2022 · 4 comments
Labels
resolution:duplicate This issue is a duplicate of another issue and was merged into it. support:2 An issue reported by a commercially licensed client. type:feature This issue reports a feature request (an idea for a new functionality or a missing option).

Comments

@tony
Copy link
Contributor

tony commented Jan 4, 2022

📝 Provide a description of the new feature

The editor for Notion has a very popular feature, toggleable lists

This allows dense, contextual information to be opened in a list item on command.

Demo on Notion

Notion.Toggle.functionality.mov

Related: lists + to-do lists feature (api, source), indentation feature (api, source, plugin)

For viewers (outside the editor) it would require javascript to toggle the items. The initial state would be determined by what it was saved as (perhaps by adding/removing classes to the list items).

Another request for collapsible content, but different situation: #1504

This was closed back in 2019 and referred to layouts, citing bootstrap's collapse component.

Potentially related to #10877 or #2973?


If you'd like to see this feature implemented, add a 👍 reaction to this post.

@tony tony added the type:feature This issue reports a feature request (an idea for a new functionality or a missing option). label Jan 4, 2022
@lslowikowska lslowikowska added the support:2 An issue reported by a commercially licensed client. label Jan 4, 2022
@jswiderski jswiderski changed the title Toggleable lists Toggleable lists; Support for Details Summary tags. Jan 4, 2022
@jswiderski
Copy link

To me there is no need to come up with some custom div elements supported by JavaScript as the presented functionality seems to be perfectly covered by the details/summary tags - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details.

If we decide to implement this feature we will probably have to do it in form of a widget as there are problems with leaving the element if it is the first one in the content area:
 

@tony
Copy link
Contributor Author

tony commented Jan 4, 2022

Is this a duplicate of #8457?

@bonnepioche
Copy link

Hi,
I would love to have this collapsible items as well!
Thx!

@Witoso
Copy link
Member

Witoso commented Jan 15, 2024

Duplicate of #8457.

@Witoso Witoso closed this as not planned Won't fix, can't repro, duplicate, stale Jan 15, 2024
@Witoso Witoso added the resolution:duplicate This issue is a duplicate of another issue and was merged into it. label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution:duplicate This issue is a duplicate of another issue and was merged into it. support:2 An issue reported by a commercially licensed client. type:feature This issue reports a feature request (an idea for a new functionality or a missing option).
Projects
None yet
Development

No branches or pull requests

5 participants