If you click the third button from the left on the top row of the reply box you get a drop down box with different special BBCodes to choose from with one of them being spoilers. Make sure you highlight the text you want spoilered first though and then press OK.