I really love this rendition of the spoiler alert. It’s just about perfect, but there are a few things I would love to see done with this plugin someday, some of which have already been mentioned:
The ability to adjust the blur levels using the plugin settings UI in the admin panel. I feel like with spoiler-tagged images, the blur levels might not be strong enough to keep an image from being spoiled
Have a spoiler-tagged image only change blur levels when actually hovering over/clicking the image. See the scary image post in this topic as an example. If you hover/click in the whitespace to the right of the image, it behaves as if you were interacting with the image itself.
Figure out a way to prevent navigation to spoiler-tagged links until the spoiler alert has been deactivated.
I saw at least one mention of weird behavior with lightboxed images in this topic. I haven’t tested it yet, but if that is indeed a problem, that would be great to fix. I imagine the fix would be similar to the link issue.
Just some constructive feedback. If I have some free time, I might take a crack at one of these. If I come up with any solutions before you or anyone else, I’ll report back. In the mean time, thank you @sam and the rest of the Discourse team for all you do here!