Extra div added at the root doc level #146
Labels
breaking-change
Changes that cause backward compatibility issues and will require a major version.
bug
Something isn't working
p3-significant
[Priority] Moderate issues, major enhancements
In storyblok-js-client,
render
rich text didn't add an extra div at the root level when rendering the doc. But@storyblok/richtext
does. This can impact on layouts and stylesheets already existing.This suppose a breaking change when moving from js-client to storyblok/richtext.
Expected Behavior
Not to have a wrapper div
Current Behavior
There is an extra wrapper div
Steps to Reproduce
Go to this stackblitz, and see both options running with their differences https://stackblitz.com/edit/richtext-extra-div?file=main.js
The text was updated successfully, but these errors were encountered: