def formfield(self, **kwargs):
defaults = {<EOL>'<STR_LIT>': RichTextFormField,<EOL>'<STR_LIT>': self.config,<EOL>}<EOL>defaults.update(kwargs)<EOL>return super(RichTextField, self).formfield(**defaults)<EOL>
Get the form for field.