Storyblok rich text in React Server Components

The demo behind Cleaning Storyblok richtext in RSC (opens in a new tab). Some of these pages fail on purpose.

  1. /raw

    The rich text as it is. A link with a custom style attribute takes the page down.

  2. /inline

    The same rich text without that link. Alignment, colour and highlights come out as inline styles, and this page's style-src 'self' policy blocks them.

  3. /clean

    The rich text cleaned before it renders, shown twice at different sizes.

  4. /live

    The same rich text, written to a real Storyblok space through the Management API and read back through the Content Delivery API. Storyblok keeps the style string, so this page fails too.

  5. /live/clean

    The story from the real space, cleaned before it renders.