-
Hi, while the basic text formatting options are there, I noticed that there are some notable ones missing, for example
Is there a way to add them? Or Trix editor does not even support them? Thanks and regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @mgogoulos, Thanks for your comment! The stock Trix we are using does not support these options. One way to do this would be overriding the widget with your own HTML1, CSS2 and JavaScript3. Trix is quite configurable so you should be able to do this, although I presume we will make Django Prose more customisable in the future, if there is need for that. Footnotes
|
Beta Was this translation helpful? Give feedback.
Hey @mgogoulos,
Thanks for your comment!
The stock Trix we are using does not support these options. One way to do this would be overriding the widget with your own HTML1, CSS2 and JavaScript3.
Trix is quite configurable so you should be able to do this, although I presume we will make Django Prose more customisable in the future, if there is need for that.
Footnotes
https://github.com/withlogicco/django-prose/blob/73ac344800d0b1f7a95ca506abce01158fe74710/prose/templates/prose/forms/widgets/editor.html ↩
https://github.com/withlogicco/django-prose/blob/73ac344800d0b1f7a95ca506abce01158fe74710/prose/widgets.py#L9-L12 ↩
https://github.com/withlogicco/django-prose/blob/73ac344800d0b1f7…