django-wysiwyg icon indicating copy to clipboard operation
django-wysiwyg copied to clipboard

Easier integration

Open PetrDlouhy opened this issue 8 years ago • 2 comments

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?

PetrDlouhy avatar Dec 21 '15 16:12 PetrDlouhy