Remove unused variable from text-editor-spec