I had trouble with spoilers too.
Just click the "spoiler" button then a window shows up. You fill it up (that would be the title of the spoiler.
Now when you're done with the title, type what you want to put in the spoiler like this
SPOILER="title"]insert spoiler content[/SPOILER