Simple editor with saving function