(Scroll down to the section headed “How I got to here”)
I’ve specified the show text as ‘reveal’ and the hide text as ‘hide’ but as you’ll see, when you first load the page it continues to show the little plus icon, when you show the text it changes to the correct “hide” but when you do hide it again, instead of the word ‘reveal’ it displays the url of the plus icon.
If I remove the show/hide text modifiers and just have the little +/- icons, it doesn’t do this.
I had no end of trouble getting it to work at all, it was just inserting the + and – icons but not hiding the text. It is now at least hiding the text, but it doesn’t look great with the url showing….