Pass editor into callback function in init.standard.js