@override_settings(WAGTAILADMIN_RICH_TEXT_EDITORS={'custom': {'WIDGET': 'wagtail.tests.testapp.rich_text.CustomRichTextArea'}})
def test_custom_editor_without_default(self):
    self.assertIsInstance(get_rich_text_editor_widget('custom'), CustomRichTextArea)
@override_settings(WAGTAILADMIN_RICH_TEXT_EDITORS={'custom': {'WIDGET': 'wagtail.tests.testapp.rich_text.CustomRichTextArea'}})
def test_custom_editor_without_default(self):
    self.assertIsInstance(get_rich_text_editor_widget('custom'), CustomRichTextArea)