same as above, should include the jsdoc for the editor argument