discourse/plugins/spoiler-alert
Renato Atilio 2702b73e58
FEATURE: enforce prosemirror-gapcursor on additional block nodes (#35415)
Enforces the gap cursor using the new `createGapCursor: true` node spec
prop to the following block nodes:
- `blockquote`
- `quote`
- `code_block`
- `html_block`
- `spoiler`
2025-10-15 10:14:26 -03:00
..
assets FEATURE: enforce prosemirror-gapcursor on additional block nodes (#35415) 2025-10-15 10:14:26 -03:00
config Update translations (#35031) 2025-09-29 10:26:53 +02:00
spec DEV: Skip flaky d-assign spec (#34749) 2025-09-05 12:45:28 -06:00
test/javascripts UX: improvements to rich editor spoiler (#34149) 2025-08-21 13:56:31 -03:00
plugin.rb DEV: Remove the last transpile_js mentions (#26263) 2024-03-20 15:32:37 +01:00
README.md UX: Removed a redundant git pull statement from the docs (#30801) 2025-01-16 11:13:51 +00:00

discourse-spoiler-alert

https://meta.discourse.org/t/discourse-spoiler-alert/12650/

Spoiler plugin for Discourse highly inspired by the spoiler-alert jQuery plugin.

Usage

In your posts, surround text or images with [spoiler] ... [/spoiler]. For example:

I watched the murder mystery on TV last night. [spoiler]The butler did it[/spoiler].

Installation

  • Add the plugin's repo url to your container's app.yml file
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - mkdir -p plugins
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-spoiler-alert.git
  • Rebuild the container
cd /var/discourse
./launcher rebuild app

License

MIT