Displaying oneboxes in Hide Details

Hello,
Noticed that onebox doesn’t work when you hide elements. Any way to go about it?
See:

1 Like

Hello and welcome @aron_bett :slight_smile:

I think you can use html <details> to achieve this:

<details>
<summary>
Check out my onebox
</summary>

https://www.discourse.org

</details>
Check out my onebox
5 Likes

still doesn’t work.
Maybe I wasn’t clear. The goal is to enable link previews when you use “hide details” feature.

When I don’t use hide details feature, the link previews appear;

1 Like

That’s exactly what @JammyDodger has shown to work?

The one-box is retrieved but hidden in the details and displayed once you expand them.

4 Likes

Thank you @JammyDodger, @merefield . It works!

3 Likes

Several things don’t work inside hidden tags. Inline images won’t be rendered (and downloaded) as well:
I think there are others I don’t remember right now. :thinking:

Summary

https://cdn.unicyclist.com/uploads/default/original/3X/c/3/c3c8d9fb0aef369d62d3ce9a4283941e14c65e24.jpeg

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.