Don't rely on editor.BLOCK_CLASS and editor.CARET_CLASS constants