Introducing Quests: Tailored gamification & bridging in-person events with your community Mike Gitkos 16 hours ago16 hr
Posted October 23, 20204 yr It seems like if you quote a post with a spoiler in it you can get unwanted behavior. If you open the spoiler before expanding the quote it is fine. If you expand the quote and then try to open the spoiler, it overflows the quote box. This happens on the 4.5 default theme. I have replicated it on a live site as well as a local testing site. EDIT: I have found the potential source of the problem. Normally a truncated quote has a set height of 168px. <div class="ipsQuote_contents ipsClearfix ipsTruncate" data-ipstruncate="true" data-ipstruncate-type="hide" data-ipstruncate-size="7 lines" data-ipstruncate-expandtext="Expand" style="position: relative; height: 168px;"> When you click 'Expand' the height is supposed to change to 'auto' -- but in certain situations, the height is still hard-coded to 168px. Here is an example where the user clicks 'Expand' but the height property is not changing like it should: <div class="ipsQuote_contents ipsClearfix" data-ipstruncate="true" data-ipstruncate-type="hide" data-ipstruncate-size="7 lines" data-ipstruncate-expandtext="Expand" style="position: relative; height: 168px;"> Because the expanded quote is still hard-coded with a 168px height, the spoiler inside will now overflow from its boundaries: Again this only happens if you click 'Expand' on the quote BEFORE you open the spoiler. If you open the spoiler first then everything is fine. Edited October 23, 20204 yr by bchan009
July 13, 20214 yr I got a problem with the spoiler tag. It doesn't work Edited July 13, 20214 yr by idioteque
July 14, 20214 yr 12 hours ago, idioteque said: . It doesn't work What do you mean by that? How does it not work? Edited July 14, 20214 yr by SeNioR-
July 14, 20214 yr 13 hours ago, idioteque said: I got a problem with the spoiler tag. It doesn't work By tag, do you mean the bbcode? [spoiler]TEST[/spoiler] If so, then BBCODE parsing is being deprecated in the software and is disabled by default on a new installation of 4.5.x onwards (if upgrading from an earlier version then a choice to leave enabled/disable is presented when upgrading) If you wish to turn it back on: