simple editor with localStorage.