after editor contents are cleared, clear the HTML/CSS/JS