OCULTAR IMÁGENES (Cada botón tiene un número de spoiler diferente, hay que cambiarlo)
<input type="button" onclick="if(document.getElementById('spoiler1') .style.display=='none') {document.getElementById('spoiler1') .style.display=''; this.value = 'Ocultar'; }else{document.getElementById('spoiler1') .style.display='none';this.value = 'Mostrar solución'; }" value="Mostrar solución"/><div id="spoiler1" style="display:none">
...Aquí el contenido que quieres ocultar...
</div>
********************************************
*******************************************
NOTA: SE TRABAJA EN HTML TODO EL TIEMPO, SE SUBE LA IMAGEN EN HTML, PEGADO SE PONE ESTA ETIQUETA Y DESPUÉS EN EL CONTENIDO QUE ... SE BORRA Y SE SUBE AHÍ LA IMAGEN, HAY QUE RECORDAR QUE HAY QUE CAMBIAR EL NÚMERO DEL ESPOILER CADA VEZ QUE SE UTILIZA EN UNA MISMA ENTRADA
OCULTAR PALABRAS
<div>
<input onclick="if(this.parentNode.getElementsByTagName('div')[0].style.display != ''){this.parentNode.getElementsByTagName('div')[0].style.display = '';this.value = 'Ocultar';}else{this.parentNode.getElementsByTagName('div')[0].style.display = 'none'; this.value = 'Mostrar Solución';}" type="button" value="Mostrar Solución" />
<br />
<div style="display: none;">
Solución
</div>
*************************
*************************
NOTA: LAS IMÁGENES SE SUBEN EN REDACTAR Y ESTA ETIQUETA SE PEGA JUSTO DEBAJO PERO EN LA ZONA HTML, HAY QUE IR CAMBIANDO DE REDACTAR A HTML CADA VEZ QUE SE SUBE UNA IMAGEN Y SE PONE EL ESPOILER