diff --git a/district/models.py b/district/models.py index 2aaa34ce52902495105db4ab24a7f06f39c6bab5..4c946bd705530fc6260c3233839d6a4a8f19a45e 100644 --- a/district/models.py +++ b/district/models.py @@ -888,7 +888,7 @@ class DistrictCenterPage(CalendarMixin, SubpageMixin, MetadataPageMixin, Page): content = StreamField( [ ("text", RichTextBlock()), - ("table", TableBlock(table_options={"renderer": "html"})), + ("table", TableBlock()), ], verbose_name="Obsah", blank=True, @@ -1001,7 +1001,7 @@ class DistrictCustomPage(SubpageMixin, MetadataPageMixin, Page): content = StreamField( [ ("text", RichTextBlock()), - ("table", TableBlock(table_options={"renderer": "html"})), + ("table", TableBlock()), ("people_group", blocks.PeopleGroupListBlock()), ], verbose_name="Obsah", diff --git a/region/models.py b/region/models.py index 6f4c634930f98b8674f3467d9c7e693eec1cb65f..d1f6072b4bdd5b51b562098f9db4d29440f7adab 100644 --- a/region/models.py +++ b/region/models.py @@ -874,7 +874,7 @@ class RegionCenterPage(CalendarMixin, SubpageMixin, MetadataPageMixin, Page): content = StreamField( [ ("text", RichTextBlock()), - ("table", TableBlock(table_options={"renderer": "html"})), + ("table", TableBlock()), ], verbose_name="Obsah", blank=True, @@ -987,7 +987,7 @@ class RegionCustomPage(SubpageMixin, MetadataPageMixin, Page): content = StreamField( [ ("text", RichTextBlock()), - ("table", TableBlock(table_options={"renderer": "html"})), + ("table", TableBlock()), ("people_group", blocks.PeopleGroupListBlock()), ], verbose_name="Obsah",