Since the new spoiler functionality apparently lacks a spoiler title now, I suppose it's as good a time as any to reiterate on a previous post I made about editing spoilers.
<div class="UserSpoiler"><div class="SpoilerTitle">Spoiler: <span>Spoiler Title</span><input type="button" value="show" class="SpoilerToggle" /></div><div class="SpoilerReveal"></div><div class="SpoilerText" style="display: none;">Spoiler Body</div></div> This produces a traditional spoiler with editable elements such as the spoiler title. It should be pretty obvious what goes where, Spoiler Title and Spoiler Body are the two which should get attention.
Comments
neat!
Btw, toggling between "Edit" and "Preview" mode adds more "show" buttons to the spoiler in @bob_veng 's post (see screenshot).
also posting spawns one too
aaaaand they don't seem to be clickable
Well, I can add spoiler code directly, but that's probably not intended:
<div class="UserSpoiler"><div class="SpoilerTitle">Spoiler: <span>Spoiler Title</span><input type="button" value="show" class="SpoilerToggle" /></div><div class="SpoilerReveal"></div><div class="SpoilerText" style="display: none;">Spoiler Body</div></div>
This produces a traditional spoiler with editable elements such as the spoiler title. It should be pretty obvious what goes where, Spoiler Title and Spoiler Body are the two which should get attention.
More details can be found way back here.
a spoiler...
test
another spoiler...
Guess not.