Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gojonesy opened this issue Jul 31, 2015 · 0 comments
Open

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

gojonesy opened this issue Jul 31, 2015 · 0 comments

Comments

@gojonesy
Copy link

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

stefanor pushed a commit to stefanor/django-markitup that referenced this issue Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant