zsiciarz / django-markitup

Markup handling (using Jay Salvat's MarkItUp! flexible universal markup editor) for Django
https://github.com/zsiciarz/django-markitup
BSD 3-Clause "New" or "Revised" License
47 stars 31 forks source link

Can't specify a 'cols' attribute in the form #9

Open gojonesy opened 9 years ago

gojonesy commented 9 years ago

Hello.

I am trying to resize the markitup widget to change the width. It doesn't appear to have any effect, however. Is it possible to state the desired 'cols' attribute in the Forms.py file in order to scale the widget's width?

bio = forms.CharField(widget=MarkItUpWidget(attrs={'cols': 20}))

Thanks