from wagtail.core.models import Page
from wagtail.core.fields import StreamField
from wagtailnhsukfrontend.blocks import InsetTextBlock
class MyPage(Page):
body = StreamField([
...
('inset_text', InsetTextBlock()),
...
])
from wagtail.core.models import Page
from wagtail.core.fields import StreamField
from wagtailnhsukfrontend.blocks import InsetTextBlock
class MyPage(Page):
body = StreamField([
...
('inset_text', InsetTextBlock()),
...
])