I am struggling to add CSS classes to Wagtail StreamField
& TableBlock
(http://docs.wagtail.io/en/v1.8.1/reference/contrib/table_block.html).
Is the way to go to define a filter and use something like:
{{ child|className:"table table-bordered" }}
where className
is my custom filter?