I'm surprised that this is not included in BBcode by default really. Spoiler tags could really be useful to condense long posts or hide large amount of embeds or you know... hide spoilers by putting them inside a box that can be opened to view the contents inside.
I only just noticed that after messing around with the BBcode features earlier and I was wondering if this could be added in the future? I was so used to forum sites having a spoiler feature that I'm weirded out by it's exclusion.
Adding Spoiler tags for the forums
- GoonyBaloney
- Newbie
- Reactions:
- Posts: 9
- Joined: Sun Jan 08, 2023 5:39 pm
- Pronouns: he/they
- techramancer
- Websurfer
- Reactions:
- Posts: 53
- Joined: Fri May 13, 2022 2:42 pm
- Pronouns: he/him
- Website: https://techramancer.com/
Re: Adding Spoiler tags for the forums
The [s]strikethrough[/s] tag also seems to not be a default, and is a nice text formatting tool to have, especially for transparent editing, which I'm personally a fan of.
signatures by sadness
techramancer's tree of links[https://techramancer.com/linktree-index];
Re: Adding Spoiler tags for the forums
I noticed the lack of a strike tag myself too, I don't think I've ever actually been on a forum that didn't have it so I was surprised to not see it haha
I'd also support adding a spoiler tag or other type of hidebox.
I'd also support adding a spoiler tag or other type of hidebox.
- AuzzieJay
- Moderator
- Reactions:
- Posts: 27
- Joined: Tue May 03, 2022 1:52 pm
- Pronouns: He/Him
- Website: https://auzziejay.com
Re: Adding Spoiler tags for the forums
I've mentioned this to Sadness! https://www.phpbb.com/customise/db/exte ... er_bbcode/
There are spoiler codes we may be able to implement!
There are spoiler codes we may be able to implement!
- Sadness
- Site Admin
- Reactions:
- Posts: 90
- Joined: Tue May 03, 2022 1:26 pm
- Pronouns: she/her
- Website: https://sadgrl.online/
Re: Adding Spoiler tags for the forums
Hey! I just added the extension that Auzzie mentioned which enables spoiler tags.GoonyBaloney wrote: ↑Mon Jan 16, 2023 12:31 am I'm surprised that this is not included in BBcode by default really. Spoiler tags could really be useful to condense long posts or hide large amount of embeds or you know... hide spoilers by putting them inside a box that can be opened to view the contents inside.
I only just noticed that after messing around with the BBcode features earlier and I was wondering if this could be added in the future? I was so used to forum sites having a spoiler feature that I'm weirded out by it's exclusion.
Here is the syntax for their use:
Code: Select all
[spoiler]Spoilered text[/spoiler]
Spoiler
Here is some hidden text!
- GoonyBaloney
- Newbie
- Reactions:
- Posts: 9
- Joined: Sun Jan 08, 2023 5:39 pm
- Pronouns: he/they
Re: Adding Spoiler tags for the forums
Awesome, this is great! My only complaint thus far is that the white color used for the spoiler is straining on the eyes, especially when using a dark theme like the default Yesterweb theme (which is what I'm using right now). That aside, thank you so much!Sadness wrote: ↑Fri Feb 10, 2023 1:40 pmHey! I just added the extension that Auzzie mentioned which enables spoiler tags.GoonyBaloney wrote: ↑Mon Jan 16, 2023 12:31 am I'm surprised that this is not included in BBcode by default really. Spoiler tags could really be useful to condense long posts or hide large amount of embeds or you know... hide spoilers by putting them inside a box that can be opened to view the contents inside.
I only just noticed that after messing around with the BBcode features earlier and I was wondering if this could be added in the future? I was so used to forum sites having a spoiler feature that I'm weirded out by it's exclusion.
Here is the syntax for their use:You can also select the "eye with a slash through it" icon at the formatting toolbar in a post. Here's how a spoiler looks:Code: Select all
[spoiler]Spoilered text[/spoiler]
This was a little harder to implement than I imagined - when I first added it, the spoiler was white-on-white text because of some theming files conflicts. Because it's an extension, it's styled separately from the theme for accessibility so I tried to give it a consistent theme that is always visible regardless of the theme you're using but it may not be perfect. If you notice this problem persisting, please let me know as well as which theme you are using.Spoiler
Here is some hidden text!