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

Try using rows instead of the JavaScript hack. #31

Open
FlipperPA opened this issue Nov 5, 2021 · 1 comment
Open

Try using rows instead of the JavaScript hack. #31

FlipperPA opened this issue Nov 5, 2021 · 1 comment

Comments

@FlipperPA
Copy link
Owner

FlipperPA commented Nov 5, 2021

Apparently, TextBlock can take rows as an attribute:

https://github.com/FlipperPA/wagtailcodeblock/blob/main/wagtailcodeblock/blocks.py#L52

https://stackoverflow.com/questions/69834824/is-there-a-way-to-increase-the-height-for-textblock-in-wagtail-content-panel

@lb-
Copy link

lb- commented Oct 26, 2023

As per Slack chat, I think that in Wagtail 5.0 the built in text area widget should behave a lot nicer.
See wagtail/wagtail#10195

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

2 participants