Resetting editor did not properly revert to initial state