Spoiler works again
-
-
click to show
-
click to show
-
Any JavaScript programmers here? I think it wouldn't be too hard to change the spoiler plugin in such a way that the spoiler content is ROT13-encoded (say) and shows only up in mangled form in the preview but is then decoded when pressing on the button. The plugin is only around 50 lines of JavaScript code, see here.
-
@Klaus Did we ever have a spoiler module that handles the topic list preview correctly? If we can look at the code for that old spoiler module, maybe we can find the snippet that deals with topic list preview and adapt that just snippet to the new spoiler module.
-
@Klaus Did we ever have a spoiler module that handles the topic list preview correctly? If we can look at the code for that old spoiler module, maybe we can find the snippet that deals with topic list preview and adapt that just snippet to the new spoiler module.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login