Posts and Pages
Lifecycle hooks
When creating posts and pages, certain attributes simply cannot remain empty. Otherwise, the resulting frontend will appear broken.
These are the page_context and color_scheme attributes, both of the relation type. Presently, Strapi does not support setting default values for these types of attributes.
Hence, a lifecycle hooks (at apps/cms/src/api/post/content-types/post/lifecycles.ts and apps/cms/src/api/page/content-types/page/lifecycles.ts) have been registered where on creating a post or page entry, the page_context and color_scheme attributes are set to default values.