Replace call to get('editor') with this.editor for speed up.