Higher Quality, Stronger Performance, Increased Stability, Better Developer Experience, discover everything we've shipped recently!

Strapi plugin logo for Relation Publish

Relation Publish

Strapi v5 Content Manager, supporting Draft & Publish workflows.

thumbnail for Relation Publish

strapi-plugin-relation-publish

A Strapi v5 plugin that adds a Publish button with a confirmation dialog to the relation edit modal in the Content Manager.

Installation

npm install strapi-plugin-relation-publish
# or
pnpm add strapi-plugin-relation-publish

Register the plugin in your Strapi project's config/plugins.ts:

export default {
  'relation-publish': { enabled: true },
};

How it works

When editing a relation in the Content Manager modal, the plugin injects a Publish action button. Clicking it opens a confirmation dialog before publishing the related document.

  • Only appears for content types that have Draft & Publish enabled (i.e. have a status field).
  • Disabled when the document is already published and has no unsaved changes.
  • Disabled when viewing the published tab.

Development

pnpm install
pnpm build        # build the plugin
pnpm test         # run tests
pnpm test:watch   # watch mode

License

MIT

Install now

npm install strapi-plugin-relation-publish

STATS

No GitHub star yet17 weekly downloads

Last updated

10 days ago

Strapi Version

5.0.0 and above

Useful links

Create your own plugin

Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.