Jump to content
  • 1
Suzu

[Suggestion] Add code for spoilers with names

Question

Currently spoilers only work by themselves and cannot be named.

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

  • 1

I second this. Spoilers are doable but a lot harder to work with.
I spent a good 20 minutes dragging images around to fit into individual spoilers and fighting with the one-liners on top because the spoilers themselves have no distinction from one another. Spoilers inside spoilers was a bit too much of a hassle for me xD

Also, to delete a spoiler without deleting everything inside of it, one has to manually drag everything out of it first. ^-^"

Share this post


Link to post
Share on other sites
  • 0

Ok so I've somewhat added this albeit it's a little clunky but it does function as requested (I'll see if I can make it somewhat more user friendly but yeah)

 

anyhow you'll see a new icon now image.png

Clicking on that will push across the following image.png

SPOILER
Hello boys and girls this is a test on the classic spoiler
Test hello ladies
henlo

And you can then modify the text of the header by just simply changing where it says SPOILER

Modifying the spoiler is slightly more troublesome but you can do it.

You'll just want to modify the following two values in source mode

image.png

Share this post


Link to post
Share on other sites
  • 0

We don't have the source mode visible to us Torm.

Share this post


Link to post
Share on other sites
  • 0

So I just re-styled Tormented's code above to make "old spoilers" similar to how it works on YCM. You do have to go into source mode to edit the content, however.

Spoiler
Hello~!

Do ping me if you think there should be more changes to it.

Edited by Aix

Share this post


Link to post
Share on other sites
  • 0
SX6Ryo9.png

Common sense required.

EDIT: woops, got my threads confused thought this was the testing thread.

Anyway, I've added one more spoiler here which is what you see above, it's called the "Buttonless Spoiler" on the editor.

Edited by Aix

Share this post


Link to post
Share on other sites
  • 0

"Old spoiler" removed because I needed to fix it, but there's no real point since the buttonless spoiler does the exact same.

Share this post


Link to post
Share on other sites
  • 0

Those definitely look nice, but the lack of any indication they're clickable outside of context is kind of.. idk.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...