I don't see "copy content from" buttons alongside StreamField title.
How it looks
How it was
How it's now
The code
models.py
from wagtail.models import Page
from wagtail.fields import StreamField
from wagtail.admin.panels import FieldPanel
from wagtail import blocks
class SectionBlock(blocks.StructBlock):
text = blocks.CharBlock(required=False)
class BasePage(Page):
body = StreamField(
[("section", SectionBlock())],
null=True,
blank=True,
use_json_field=True,
)
content_panels = Page.content_panels + [FieldPanel("body")]
translation.py
from modeltranslation.translator import TranslationOptions
from modeltranslation.decorators import register
from .models import BasePage
@register(BasePage)
class BasePageTR(TranslationOptions):
fields = ("body",)
What I did
After updating from
to
I don't see "copy content from" buttons alongside StreamField title.
How it looks
How it was
How it's now
The code
models.py
translation.py
settings.py