Nit: You need to have the param name `editor` after {Editor}.