1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Better Spoiler BBCode?

Discussion in 'Styling and Customization Questions' started by Qwest, Sep 17, 2013.

  1. Qwest

    Qwest Member

    I think I've seen all the add-ons that implement spoiler tags including the custom bbcode addon.

    They work fine if you never have a spoiler embedded in the middle of a paragraph or sentence. But what happens when in the middle of a conversation someone drops a spoiler? How do you blackout that one sentence without dropping a huge DIV in there

    that takes the spoiled content and puts it on one line

    . then resumes the sentence several lines below. Broken and clunky looking?

    Is there way to hide spoilers without a huge div? Like the strike-through does but completely blacking it out instead?
  2. cclaerhout

    cclaerhout Well-Known Member

    See here with an update: to use templates with bbcodes, check this addon.
    P.S: you might need to check and improve the code with mobile devices (check the hover behavior on them).
    Qwest likes this.
  3. Qwest

    Qwest Member

    Hey sorry I saw your reply that day and got so excited to go check it out I forgot to say thanks. So thanks!
    cclaerhout likes this.

Share This Page