rewrite Editor