Skip to content

[BUG] Preview buttons are not visible in the list view by default #148

Open
@SalahAdDin

Description

@SalahAdDin

After installing the plugin, configuring it and launching the server, we went to the content type list and we didn't find the buttons:

Image

But, you can see the buttons in the Entity view:

Image

Now, we enable them from the content type schemas, and it does work well:

Image

So, it is not enabled by default, we have to enable it manually.

{
  "kind": "collectionType",
  "collectionName": "posts",
  "info": {
    "singularName": "post",
    "pluralName": "posts",
    "displayName": "Post",
    "description": "Write your's website posts."
  },
  "options": {
    "draftAndPublish": true
  },
  "pluginOptions": {
    "i18n": {
      "localized": true
    },
    "preview-button": {
      "listViewColumn": true
    }
  },
}

System Information

Environment: development
OS: linux-x64
Strapi Version: 5.9.0
Node/Yarn Version: pnpm/9.10.0 npm/? node/v22.13.1 linux x64
Edition: Community
Database: sqlite

strapi-plugin-preview-button:  3.0.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @SalahAdDin

      Issue actions

        [BUG] Preview buttons are not visible in the list view by default · Issue #148 · mattmilburn/strapi-plugin-preview-button