A slightly different problem than my previous post .. creating a post with the spoiler tags already in place means that, after a preview, the spoiler is .. hidden. And if I click on the link to reveal the spoilers, my post disappears (yay for the Back button).

No problem, I ended up replacing the spoiler tags with text like spoiler here soon, and made sure to put the spoiler tags back in once I as done editing.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Replies are listed 'Best First'.
Re: Creating a node with spoilers is a challenge
by kcott (Archbishop) on Oct 05, 2013 at 05:31 UTC

    G'day Alex,

    You're right: this is a minor annoyance. I usually just preview without the 'spoiler' tags (or placeholders for them). When I'm happy with the post, I add the tags and preview again.

    When previewing a post with 'readmore' tags, the markup looks like this:

    <div class="readmore"> ... </div>

    Perhaps something similar (with class="spoiler") would be appropriate for 'spoiler' tags.

    -- Ken