Open
Description
Hello,
currently migrating a site to Strapi 5, the alwaysVisible
doesn't seem to be working anymore.
I tried to add it to different levels of the config, but if I understand the docs correctly, this should work:
"preview-button": {
config: {
contentTypes: [
{
uid: "api::page.page",
draft: {
url: `${env("SITE_URL")}/api/preview`,
query: {
type: "pages",
slug: "{slug}",
locale: "{locale}",
secret: env("VERY_SECRET_TOKEN"),
},
},
published: {
url: `${env("SITE_URL")}/{locale}/{slug}`,
alwaysVisible: true
},
},
],
},
},
Metadata
Metadata
Assignees
Labels
No labels