Removed RedactorEditor class and imported it from redactor.widgets