Skip to main content
Version: 3.x

Using X-Ray with Prismic

Learn how to enable X-Ray support for your Prismic content, allowing content editors to quickly access and edit content directly from your storefront.

Overview

The Prismic module provides built-in support for Front-Commerce's X-Ray feature through the PrismicMetadataExtractor. This allows content editors to:

  1. See which parts of the page come from Prismic
  2. Click directly through to edit the content in Prismic
  3. Understand the structure of their content
http://localhost:4000

X-Ray in Prismic

Implementation Steps

Testing X-Ray Integration

  1. Start your development server
  2. Enable X-Ray mode using the Magic Button
  3. Verify that:
    • Prismic content is highlighted with the Prismic brand color
    • Clicking the edit button opens the correct page in Prismic
    • Both page-level and block-level content are properly identified
    • Slice content shows the correct edit button and links

See Also