Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Creating a node with spoilers is a challenge

by talexb (Canon)
on Oct 04, 2013 at 15:38 UTC ( #1056899=monkdiscuss: print w/replies, xml ) Need Help??

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 (Chancellor) 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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://1056899]
Approved by moritz
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2018-05-21 13:49 GMT
Find Nodes?
    Voting Booth?