per il TinyMCE non so che dirti (mai usato)
per ripristinare
codice:
function anteprima()
	{
	var xform = document.getElementById("invia")
	var xTarget=xform.target
	var xAction=xform.action
	xform.target = "parent"
	xform.action = "anteprima.php"
	xform.submit()
	xform.target = xTarget
	xform.action = xAction
	}