Configure Content Types
Configure preview for content types
Next, we need to configure draft mode for the content types. This will display an inline draft in an iframe when you visit the content pages.
Configure Draft
To enable content draft inside Drupal, we need to configure a site resolver for the Article content type.
A site resolver tells Drupal how to resolve the draft URL for an entity.
- Visit
/admin/config/services/next/entity-types
- Click Configure entity type
- Select Article from the the entity type list
- Select Site selector as the Site resolver
- Select your site under Next.js sites
- Click Save