Simonas Jutkevičius

Results 2 comments of Simonas Jutkevičius

Hi, urls.py of django-summernote 0.8.20.0 doesn't return the url 'django_summernote-upload_attachment' if SUMMERNOTE_CONFIG['disable_attachment'] == True but SummernoteWidgetBase tries to get this url in any case. As a workaround I added this...

Hi, my suggestion is to cange to `class SummernoteTextFormField(fields.CharField): # You can define widget in form with SummernoteTextFormField(widget=OtherWidget). def to_python(self, value): value = super().to_python(value) return bleach.clean(value, tags=ALLOWED_TAGS, attributes=ATTRIBUTES, styles=STYLES) class...