Implemented basic history navigation with the editor.