0

I am new to Wagtail and have just successfully installed my first site with a StreamField block:

class DefaultPage(Page):
    author = models.CharField(max_length=255, blank=True, null=True)
    date = models.DateField("Post date", blank=True, null=True)
    body = StreamField([
        ('title', blocks.CharBlock(form_classname="full title")),
        ('paragraph', blocks.RichTextBlock()),
        ('image', ImageChooserBlock()),
    ], blank=True, null=True)

However, the admin panel for the streamfield does not render this as expected. I expected a black control panel with inline editing, per the official Wagtail site:

enter image description here

Instead I have a different "light" theme UI:

enter image description here

Am I looking at different features? Is there an update in the latest release not on the official site?

alias51
  • 8,178
  • 22
  • 94
  • 166

1 Answers1

2

Yes, the design of StreamField was updated in Wagtail 2.7.

(The outdated screenshot has been flagged up, and should hopefully be fixed in the next release.)

gasman
  • 23,691
  • 1
  • 38
  • 56