# Spoilers don’t toggle when inside \<details\>

**URL:** <https://meta.discourse.org/t/spoilers-don-t-toggle-when-inside-details/194499>\
**Category:** Bug\
**Tags:** completed, hide-details\
**Created:** [June 21, 2021, 1:59am UTC](https://meta.discourse.org/t/spoilers-don-t-toggle-when-inside-details/194499 "2021-06-21T01:59:28Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [May 17, 2023, 10:41am UTC](https://meta.discourse.org/t/spoilers-don-t-toggle-when-inside-details/194499/4 "2023-05-17T10:41:23Z")

</div>

Thanks for the repro steps. This is a minor inconvenience(especially since it’s inside a togglable block so we can hide the content by toggling details), but a fix could be welcome.  
I will put a #pr-welcome on the topic if someone wants to give it a try on fixing it.

The plugin repo is here: [GitHub - discourse/discourse-spoiler-alert: A plugin for discourse to hide spoilers behind the spoiler-alert jQuery plugin · GitHub](https://github.com/discourse/discourse-spoiler-alert)

But I have the feeling it’s more of a Hide Details feature issue.

Content in Hide Details doesn’t always display (and interact as well?) as expected. For example, hotlinked pictures, links, videos etc won’t be displayed. It will only show the links:

> **Summary**
>
> [https://cdn.discordapp.com/attachments/914531040297635861/1107226488534740992/1920x1080.png](https://cdn.discordapp.com/attachments/914531040297635861/1107226488534740992/1920x1080.png)
> 
> [https://www.youtube.com/watch?v=ipuqLy87-3A](https://www.youtube.com/watch?v=ipuqLy87-3A)
> 
> [Apex Legends pro sweet hits Predator rank with no kills to “prove how bad” Ranked is - Dexerto](https://www.dexerto.com/apex-legends/apex-legends-pro-sweet-wants-to-prove-how-bad-ranked-is-with-no-gun-challenge-2140334/)

---

_[View the full topic](https://meta.discourse.org/t/spoilers-don-t-toggle-when-inside-details/194499)._
