diff --git a/wagtailtinymce/rich_text.py b/wagtailtinymce/rich_text.py index c61003c8..25253628 100644 --- a/wagtailtinymce/rich_text.py +++ b/wagtailtinymce/rich_text.py @@ -78,9 +78,7 @@ def render(self, name, value, attrs=None): return super(TinyMCERichTextArea, self).render(name, translated_value, attrs) def render_js_init(self, id_, name, value): - kwargs = { - 'options': self.kwargs.get('options', {}), - } + kwargs = self.kwargs.get('options', {}) if 'buttons' in self.kwargs: if self.kwargs['buttons'] is False: