prevent modifying doms outside the editor
transform divs