django-wysiwyg
django-wysiwyg copied to clipboard
Easier integration
Making a TextField to be wysiwig editable is quite unpleasant and unflexible with django-wysiwig. Especially making new admin templates. I would suggest something like:
class MassCommunicationAdmin(WysiwigAdminMixin, admin.ModelAdmin):
list_display = ('text_field',)
wysiwig_fields = ('text_field',)
I could try to program this solution, but I want to know more opinions. What do you think about this? Is there any obstacle, or conceptual problem with this?
Hi @PetrDlouhy, no obstacles! Go ahead and do it!
I looked at the code, and it might be quite easy. But then I thought about it, and I think it would be better to make wysiwyg widget, so it could be used both in AdminForm and non-admin forms.