Skip to main content
Version: next

Customizing PrismicWysiwyg

The PrismicWysiwyg component in Front-Commerce allows you to customize how different HTML elements and Prismic-specific components are rendered in your application.

Customizing PrismicWysiwyg with Content Composition API

To customize how the PrismicWysiwyg renders content, you can register your own components and data fetching logic using the Content Composition API.

tip

If you don't need to extend the GraphQL Fragment, you can simplify override the appComponentsMap.js file with your custom components, and skip the following steps.

Register your custom components