Skip to content
Snippets Groups Projects
Commit 16d0d224 authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

run hooks

parent 34f202ad
Branches
No related tags found
No related merge requests found
...@@ -5,8 +5,8 @@ from modelcluster.fields import ParentalKey ...@@ -5,8 +5,8 @@ from modelcluster.fields import ParentalKey
from taggit.models import TaggedItemBase from taggit.models import TaggedItemBase
from wagtail.admin.panels import ( from wagtail.admin.panels import (
FieldPanel, FieldPanel,
MultiFieldPanel,
InlinePanel, InlinePanel,
MultiFieldPanel,
ObjectList, ObjectList,
TabbedInterface, TabbedInterface,
) )
...@@ -407,9 +407,13 @@ class HomeArticlePage(HomeContentPageMixin): ...@@ -407,9 +407,13 @@ class HomeArticlePage(HomeContentPageMixin):
content = RichTextField( content = RichTextField(
verbose_name="Obsah", verbose_name="Obsah",
features=[ features=[
"h2", "h3", "h4", "h2",
"bold", "italic", "h3",
"ol", "ul", "h4",
"bold",
"italic",
"ol",
"ul",
"hr", "hr",
"link", "link",
"document-link", "document-link",
......
from django.template import Library
import re import re
from wagtail.models import Page
from django.template import Library
from django.utils.safestring import mark_safe from django.utils.safestring import mark_safe
from wagtail.models import Page
register = Library() register = Library()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment