This module allows users to hide potential "spoiler" content by inserting them between [spoiler][/spoiler] tags. These tags will be converted to HTML by this filter. If JavaScript is available, then a button will be presented to the user which can be clicked to display the content. If JavaScript is unavailable, then the relevant CSS rules will set the foreground and background colours to the same value, thereby rendering the text invisible, until highlighted.
The Drupal 7 version also provides a wysiwyg editor button.
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Module categories: Content Editing Experience, Developer Tools
- 159 sites report using this module
- Created by Zen on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
First release of Spoiler for Drupal 9 and 10.
Development version: 1.0.x-dev updated 25 Sep 2023 at 20:52 UTC
Development version: 7.x-1.x-dev updated 16 Jul 2011 at 00:44 UTC