extended the editor for editing existing posts