We strive to make Strapi a perfect tool for easy and efficient content management. Today, we’re thrilled to get one step closer to this goal as we’re releasing the Draft and Publish feature.
The Draft and Publish feature lets you save the content as a draft and publish it whenever you want. Once published, the content can be reverted back to the “unpublished” draft state. This functionality is available for all Strapi users: both in Community and Enterprise edition.
The draft and publish feature is not only about being able to save content as a draft. It lets you be more efficient and organized while dealing with daily content management tasks and working on your project. Let’s have a closer look at what you’ll be able to do with this update.
1. Flexible Content Management
The Draft & Publish feature allows Strapi users to draft their work ahead of time across their organization and publish it at the right time. Changes can be made anytime prior to publication and will be instantly saved to make sure they are up-to-date at all times. You can also unpublish any content type if you want to hide them or make additional edits.
In the following example, we will first create an article and save it as a draft. Then we will publish it, edit the live version, and unpublish the article. Here’s how it works:
By default, the draft & published states are enabled for all the content types but you can switch this system off. Configuration of the Draft & Publish feature can be made by clicking on the edit icon next to the Content Type’s name as shown below. Beware that if you create drafts and then decide to switch the draft & publish system off for a certain content type, your drafts will be deleted.
2. Efficient Teamwork With Permissions Levels
The Role-based Access Control feature released from the 3.1 version of Strapi allows admins to create roles with different levels of permissions. Larger teams can therefore work on the same content. Authors will be able to write content and save it as drafts, while editors and admins will have permissions to review and publish it. Used together, these features help any publishing team to efficiently manage all the content that is being produced, reviewed, and published. Whether you manage an internal team of writers or occasional freelancers, any publication workflow can be implemented with long-term or occasional permissions.
If you want to have more granularity and set custom roles, last week we have released Strapi Enterprise Bronze Edition with 30 custom roles, check it out!
Here’s an example of how an admin can review an article written by the author and publish it.
3. One Hub For All Content
Forget about a million tabs in your browser and endless copy-pasting as now you can keep all of your content in Strapi. Write, edit, format, publish and unpublish your content in the same place. All the drafts and published materials are systemized inside Strapi and can easily be switched from one state to another.
yarn create strapi-app my-project --quickstart
Apart from the Draft & Publish feature, we did several bug fixes, translation, and enhancements to make your experience with Strapi smoother.
The full list of updates is available in the changelog. Here are some of them:
Also, we added a new template option to the create-strapi-app CLI. With these templates, you can create new Strapi projects that already have content types and plugins pre-configured for you. They're great to share content models across apps with a common use case, like blogs or e-commerce sites. Choose the template for your project in our new starters library or create your own template!
To help you keep up with the latest updates and learn how the new features work, we’re organizing an Online Meetup on Thursday, October 15th at 06:00 PM CEST.
Our Developer Advocate Daniel and Engineering Lead Alexandre will demo the Draft & Publish feature in the Admin Panel, discuss its use cases, the changes to API, and what functionality the feature enables for the backend. They will answer all the questions you might have about these features and how to best use them for your respective projects. Finally, we will have an update from Sam our Product Manager on the upcoming features.
We’re looking forward to meeting you! Register below:
We regularly update the public roadmap where you can see what features we’ll be working on next.
Let us know what features you would love to see in Strapi! Please upvote the features that you want to have, or submit new feature requests on the roadmap if they are not mentioned there.
Needless to say, we would be happy to see your contributions to Strapi on GitHub and we appreciate every single one of them!
We recently updated the public roadmap. In this article, Strapi CPO Aurélien will give you as much explanation as possible about this.
September 1, 2020
In this article, you will learn about all the recent updates in Strapi during the summer: New members in the team and the new features for the product.
September 2, 2020
Strapi Enterprise Bronze Edition is all about giving you easier access to custom roles. You can also easily try Strapi with the brand new hosted trials or directly get started with the Strapi library of starters for corporate sites, portfolios, or blogs.
September 30, 2020
Sign up for the Strapi newsletter to keep up with the latest news from the Strapi community!