add a basic editor