Added saving of editor content