[Feature/Enhancement] Add support summary details HTML5 tags #1026

Closed
opened 2026-02-04 23:26:40 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @mblackgeo on GitHub (Feb 4, 2019).

Describe the feature you'd like
Support for the summary/details HTML5 tags to allow for collapsible/expandable areas.

Describe the benefits this feature would bring to BookStack users
Especially useful for example when writing FAQs. The easiest way to make an accordion style element without any JS. Although not explicitly supported in IE/Edge it is not breaking, rather just renders the element already expanded.

Additional context
Can be hacked by editing the source code section (e.g. in the WYSIWG editor) though support needs to be added to the actual editor. Seems to cause issues with embedded code blocks showing up empty when inside a <details> block. Not sure what happens in markdown mode as we have the WYSIWG editor enabled.

Originally created by @mblackgeo on GitHub (Feb 4, 2019). **Describe the feature you'd like** Support for the summary/details HTML5 tags to allow for collapsible/expandable areas. **Describe the benefits this feature would bring to BookStack users** Especially useful for example when writing FAQs. The easiest way to make an accordion style element without any JS. Although not explicitly supported in IE/Edge it is not breaking, rather just renders the element already expanded. **Additional context** Can be hacked by editing the source code section (e.g. in the WYSIWG editor) though support needs to be added to the actual editor. Seems to cause issues with embedded code blocks showing up empty when inside a `<details>` block. Not sure what happens in markdown mode as we have the WYSIWG editor enabled.
OVERLORD added the :cat2:🐈 Possible duplicate label 2026-02-04 23:26:40 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Feb 6, 2019):

Thanks for the suggestion @mblack20.

The functionality this would bring is effectively already open in #78. Since this is very similar, just more focused on the implementation I may close this to cut down on duplicates.

@ssddanbrown commented on GitHub (Feb 6, 2019): Thanks for the suggestion @mblack20. The functionality this would bring is effectively already open in #78. Since this is very similar, just more focused on the implementation I may close this to cut down on duplicates.
Author
Owner

@mblackgeo commented on GitHub (Feb 6, 2019):

Yep does seem to be a duplicate of #78.

@mblackgeo commented on GitHub (Feb 6, 2019): Yep does seem to be a duplicate of #78.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1026