CSS to hide/show content

Community Member


This is NOT about publishing/unpublishing, nor about simply hiding content. That is all easy.

I am wanting to hide and show HTML content on a page so that I reveal the answer when a student clicks a button or whatever.

Problem is the editor is configured to 'cleanup' pretty much everything except the most basic HTML. The result is if I add a <input> or <button> or suchlike, the HTML is immediately destroyed by the editor.

How can we do this? It is a very 'normal' feature in an online lesson

Many thanks