Spoiler Blocks #1741

Closed
opened 2026-02-05 01:45:27 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @mflagler on GitHub (May 20, 2020).

Describe the feature you'd like
Add a formatting style for "spoilers" or anything that should be hidden by default but can be toggled between hidden and visible by clicking on it.

Describe the benefits this feature would bring to BookStack users
Would allow users to put mildly sensitive information in BookStack so that anyone looking over your shoulder doesn't see it. For instance it could be for common shared passwords for WiFi or any other password where encryption and security are not as important but just ease of letting those with permissions to the page to view the content. This would allow a page to have instructions on how to do a task and include the password but require them to click a toggle of some sort to view the password without it being openly visible by default.

Additional context
I think this could be done with simple CSS and/or JS but would like it to be a simple format from the dropdown menu so anyone could do it easily.

Originally created by @mflagler on GitHub (May 20, 2020). **Describe the feature you'd like** Add a formatting style for "spoilers" or anything that should be hidden by default but can be toggled between hidden and visible by clicking on it. **Describe the benefits this feature would bring to BookStack users** Would allow users to put mildly sensitive information in BookStack so that anyone looking over your shoulder doesn't see it. For instance it could be for common shared passwords for WiFi or any other password where encryption and security are not as important but just ease of letting those with permissions to the page to view the content. This would allow a page to have instructions on how to do a task and include the password but require them to click a toggle of some sort to view the password without it being openly visible by default. **Additional context** I think this could be done with simple CSS and/or JS but would like it to be a simple format from the dropdown menu so anyone could do it easily.
Author
Owner

@ssddanbrown commented on GitHub (May 22, 2020):

Thanks for the request @mflagler.

Although for a different use case, I think this would be covered by #78. Therefore, I'll likely close this off unless:

  • This can be done via an alternate semantic HTML element.
  • There's a strong case why collapsible content blocks would not be suitable for the requested purpose.
@ssddanbrown commented on GitHub (May 22, 2020): Thanks for the request @mflagler. Although for a different use case, I think this would be covered by #78. Therefore, I'll likely close this off unless: - This can be done via an alternate semantic HTML element. - There's a strong case why collapsible content blocks would not be suitable for the requested purpose.
Author
Owner

@ssddanbrown commented on GitHub (Jun 30, 2020):

Will therefore close this off.

@ssddanbrown commented on GitHub (Jun 30, 2020): Will therefore close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1741