wagtail-deprecated / wagtail-react-streamfield

Powerful field for inserting multiple blocks with nesting. (NO LONGER MAINTAINED - See Wagtail 2.13 Release Notes)

Home Page:https://wagtail.github.io/react-streamfield/public/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TextBlock is exceeding width of screen if contains too much text

kikigerritsen opened this issue · comments

class TextBlock(blocks.StructBlock):
    text = blocks.TextBlock()

    class Meta:
        template = 'pages/blocks/text.html'
        icon = 'fa-align-center'

On submitting large texts in a TextBlock, the text (input and preview) will exceed the screen width in the CMS.

screen shot 2018-10-11 at 13 28 13

screen shot 2018-10-11 at 13 28 38

screen shot 2018-10-11 at 13 28 54

Thanks for the report, @kixg!

I see, it’s an SCSS issue due to some grid issue in Wagtail itself, I’ll have to amend it to fix that issue.

Fixed by a14715f and released in 1.0.0 :)