I have a structblock as below:
image = StructBlock([
('file', ImageChooserBlock()),
('caption', RichTextBlock( classname='caption' )),
])
But on the frontend template {{item.value.caption}} produces a div with class 'rich-text'.
Am I missing something?
I am using wagtail 1.13 with django 1.11.6 ( python 3.6 )