How to put hidden 'spoiler' text in a post
-
Im doing some education material on a nodebb forum, where want the answer hidden until its clicked. I think its possible in HTML, as saw spolier somewhere before?
So to have something like
Why did the chicken cross the road
Answer
When Answer is clicked it changes to
To get to the other sideHow to enter this?
-
Im doing some education material on a nodebb forum, where want the answer hidden until its clicked. I think its possible in HTML, as saw spolier somewhere before?
So to have something like
Why did the chicken cross the road
Answer
When Answer is clicked it changes to
To get to the other sideHow to enter this?
GitHub - NodeBB-Community/nodebb-plugin-spoilers: Allows you to embed spoilers in NodeBB post content.
Allows you to embed spoilers in NodeBB post content. - NodeBB-Community/nodebb-plugin-spoilers
GitHub (github.com)
I will update it for 4.x but it should still work if you install from the CLI
-
Im doing some education material on a nodebb forum, where want the answer hidden until its clicked. I think its possible in HTML, as saw spolier somewhere before?
So to have something like
Why did the chicken cross the road
Answer
When Answer is clicked it changes to
To get to the other sideHow to enter this?
Published 1.0.1 which is compatible with 4.x and 3.x
-
Im doing some education material on a nodebb forum, where want the answer hidden until its clicked. I think its possible in HTML, as saw spolier somewhere before?
So to have something like
Why did the chicken cross the road
Answer
When Answer is clicked it changes to
To get to the other sideHow to enter this?
Thanks @baris , could this be added to ACP extend so I can install without needing server access?
-
Im doing some education material on a nodebb forum, where want the answer hidden until its clicked. I think its possible in HTML, as saw spolier somewhere before?
So to have something like
Why did the chicken cross the road
Answer
When Answer is clicked it changes to
To get to the other sideHow to enter this?
Now that it's upgraded it should show up in the admin page.
-
Im doing some education material on a nodebb forum, where want the answer hidden until its clicked. I think its possible in HTML, as saw spolier somewhere before?
So to have something like
Why did the chicken cross the road
Answer
When Answer is clicked it changes to
To get to the other sideHow to enter this?
Is the word Spoiler hardcoded?
How to change if I want it to say Answer, for example?Also if my spoiler has 2 lines how to put page break in
E.g.
>! Line1 Line2To come out
Line1
Line2 -
Im doing some education material on a nodebb forum, where want the answer hidden until its clicked. I think its possible in HTML, as saw spolier somewhere before?
So to have something like
Why did the chicken cross the road
Answer
When Answer is clicked it changes to
To get to the other sideHow to enter this?
You can change the
Spoiler
text to something else. -
Im doing some education material on a nodebb forum, where want the answer hidden until its clicked. I think its possible in HTML, as saw spolier somewhere before?
So to have something like
Why did the chicken cross the road
Answer
When Answer is clicked it changes to
To get to the other sideHow to enter this?
In Federated messages, the !> doesnt work even between nodebb instances that have the plugin.
Not a big issue but its actually interesting that it doesnt work.
For example here a mastodon site sends that code in a post to a nobebb site that has spoilers installed,
when it displays the post why isnt the Functionality triggered?