Adds the editor