Skip to content

More options for text formatting #31

Answered by parisk
mgogoulos asked this question in Q&A
Discussion options

You must be logged in to vote

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

  1. https://github.com/withlogicco/django-prose/blob/73ac344800d0b1f7a95ca506abce01158fe74710/prose/templates/prose/forms/widgets/editor.html

  2. https://github.com/withlogicco/django-prose/blob/73ac344800d0b1f7a95ca506abce01158fe74710/prose/widgets.py#L9-L12

  3. https://github.com/withlogicco/django-prose/blob/73ac344800d0b1f7…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mgogoulos
Comment options

Answer selected by akalipetis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants