I'd love to be able to add content warnings and spoiler warnings here cuz I'm thinking about posting about TV shows here but I don't wanna spoil things for other people
The hoot mobile app apparently has implemented this just recently.
Submitted 3 years ago by realcaseyrollins to [deleted]
I'd love to be able to add content warnings and spoiler warnings here cuz I'm thinking about posting about TV shows here but I don't wanna spoil things for other people
The hoot mobile app apparently has implemented this just recently.
vpzom@dev.narwhal.city 3 years ago
Created an issue here: https://todo.sr.ht/~vpzom/lotide/174
that said, I'm not sure exactly what this would do in the UI
sj_zero@lotide.fbxl.net 3 years ago
On other platforms, the text is blacked out until it is clicked on then it is displayed, same with images.
Not sure how you'd do it in pure html, perhaps get rid of the offending content with a link that says "click to show hidden content" that would bring you to a new page with the spoiler/content warned content visible?
realcaseyrollins 3 years ago
You could probably do it in CSS, I think that's how Reddit handles it, in comments anyways.
You could probably use query strings to determine if the hidden content should be shown or not? The link would trigger a reload of the page with a different quest string