aron_bett
(aron bett)
18 augustus 2023 om 08:37
1
Hello,
Noticed that onebox doesn’t work when you hide elements. Any way to go about it?
See:
Hello and welcome @aron_bett
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
Discourse is modern forum software for your community. Use it as a mailing list, discussion forum, long-form chat room, and more!
aron_bett
(aron bett)
18 augustus 2023 om 09:36
3
JammyDodger:
Check
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;
merefield
(Robert)
18 augustus 2023 om 09:39
4
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.
aron_bett
(aron bett)
18 augustus 2023 om 10:31
5
Thank you @JammyDodger , @merefield . It works!
Canapin
(Coin-coin le Canapin)
18 augustus 2023 om 16:17
6
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.
Summary
https://cdn.unicyclist.com/uploads/default/original/3X/c/3/c3c8d9fb0aef369d62d3ce9a4283941e14c65e24.jpeg