remove bold as a feature on lead fields
This commit is contained in:
@ -20,7 +20,7 @@ class AssociationIndex(Page):
|
||||
max_count = 1
|
||||
subpage_types = ["associations.AssociationPage"]
|
||||
|
||||
lead = RichTextField(features=["bold", "italic", "link"])
|
||||
lead = RichTextField(features=["italic", "link"])
|
||||
|
||||
body = CommonStreamField
|
||||
|
||||
|
@ -26,7 +26,7 @@ class ContactIndex(Page):
|
||||
max_count = 1
|
||||
subpage_types = []
|
||||
|
||||
lead = RichTextField(features=["bold", "italic", "link"], blank=True)
|
||||
lead = RichTextField(features=["italic", "link"], blank=True)
|
||||
body = StreamField(
|
||||
BASE_BLOCKS + [("contact_section", ContactSectionBlock(label="Kontaktseksjon"))]
|
||||
)
|
||||
|
@ -12,7 +12,7 @@ class GenericPage(Page):
|
||||
subpage_types = ["generic.GenericPage"]
|
||||
show_in_menus = True
|
||||
|
||||
lead = RichTextField(features=["bold", "italic", "link"])
|
||||
lead = RichTextField(features=["link"])
|
||||
body = StreamField(BASE_BLOCKS + [("page_section", PageSectionBlock())])
|
||||
|
||||
content_panels = Page.content_panels + [
|
||||
|
@ -15,7 +15,7 @@ class NewsIndex(Page):
|
||||
max_count = 1
|
||||
subpage_types = ["news.NewsPage"]
|
||||
|
||||
lead = RichTextField(features=["bold", "italic", "link"], blank=True)
|
||||
lead = RichTextField(features=["italic", "link"], blank=True)
|
||||
|
||||
content_panels = Page.content_panels + [
|
||||
FieldPanel("lead", heading="Ingress"),
|
||||
@ -34,7 +34,7 @@ class NewsPage(WPImportedPageMixin, Page):
|
||||
show_in_menus = False
|
||||
|
||||
excerpt = models.TextField(max_length=512, blank=False)
|
||||
lead = RichTextField(features=["bold", "italic", "link"], blank=True)
|
||||
lead = RichTextField(features=["italic", "link"], blank=True)
|
||||
body = CommonStreamField
|
||||
featured_image = models.ForeignKey(
|
||||
"images.CustomImage",
|
||||
|
@ -22,7 +22,7 @@ class VenueIndex(Page):
|
||||
max_count = 1
|
||||
subpage_types = ["venues.VenuePage"]
|
||||
|
||||
lead = RichTextField(features=["bold", "italic", "link"], blank=True)
|
||||
lead = RichTextField(features=["italic", "link"], blank=True)
|
||||
body = CommonStreamField
|
||||
|
||||
content_panels = Page.content_panels + [
|
||||
@ -39,7 +39,7 @@ class VenueRentalIndex(Page):
|
||||
max_count = 1
|
||||
subpage_types = []
|
||||
|
||||
lead = RichTextField(features=["bold", "italic", "link"], blank=True)
|
||||
lead = RichTextField(features=["italic", "link"], blank=True)
|
||||
body = CommonStreamField
|
||||
|
||||
content_panels = Page.content_panels + [
|
||||
|
Reference in New Issue
Block a user