withlogicco / django-prose

Wonderful rich-text editing for your Django project
https://stateofprogress.blog/2023/02/01/django-prose-wonderful-rich-text-content-editing-for-django
MIT License
197 stars 13 forks source link

Allow toolbar config through django settings #91

Closed buswedg closed 4 months ago

buswedg commented 5 months ago

Considered adding a config wrapper, such that the toolbar buttons can be configured via Django settings?

Django-code-mirror has an implementation like this which is quite handy as an example: https://github.com/pavelsof/django-mirror/blob/master/django_mirror/widgets.py

I'm just starting to get my head around trix. But I see some basic customizations noted here: https://matthaliski.com/blog/customizing-the-trix-toolbar