Wagtail blocks. Subclasses should set a field property that returns the form field object: StreamField block reference ¶ This document details the block types provided by Wagtail for use in StreamField, and how they can be combined into new block types. In your page model, inside the streamfield you can add any type of the available blocks. Installation ¶ Add "wagtail. This module uses handsontable 6. For block types that simply wrap an existing Django form field, Wagtail provides an abstract class wagtail. Welcome to wagtail-blocks A Collection of awesome Wagtail CMS stream-field blocks and Charts. Table blocks provides a caption field for accessibility. ListBlock(SizeItem(), required=False) instead, this would simplify things, since a ListBlock returns a list of child values directly - there's no intermediate StreamChild object to identify the type of each block, and so you'd be able to write {{item. table_block" to your INSTALLED Usage ¶ TypedTableBlock can be imported from the module wagtail. x | 2. yggvj klnsz dwa jgemhpd ydrwt vug nvtf snec kwfekk eajes
Wagtail blocks. Subclasses should set a field property that returns the for...