Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: avoid rendering extra div on doc #148

Merged
merged 3 commits into from
Nov 22, 2024

Conversation

alexjoverm
Copy link
Contributor

Fixes #146

Copy link

@alexjoverm alexjoverm requested a review from edodusi November 19, 2024 09:18
Copy link
Contributor

@alvarosabu alvarosabu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @alexjoverm thanks for taking care of this.

Did you check the vue and react playgrounds? They are not rendering anymore.

React
Screenshot 2024-11-20 at 11 03 01

Vue
Screenshot 2024-11-20 at 11 04 30

The problem is that the logic in this PR is implemented on the defaultRender function, which is going to be overwritten by the frameworks render functions.

Copy link

pkg-pr-new bot commented Nov 21, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/@storyblok/richtext@148

commit: 869692e

@alvarosabu alvarosabu self-requested a review November 21, 2024 14:52
@alvarosabu alvarosabu added bugfix [PR] Fixes a bug p3-downstream-blocker [Priority] Blocking the downstream ecosystem to work properly labels Nov 21, 2024
@alvarosabu alvarosabu self-assigned this Nov 21, 2024
@alvarosabu alvarosabu merged commit e17ff7e into main Nov 22, 2024
5 checks passed
@edodusi edodusi deleted the bugfix/PRO-815-extra-wrapper-div branch November 22, 2024 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix [PR] Fixes a bug p3-downstream-blocker [Priority] Blocking the downstream ecosystem to work properly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extra div added at the root doc level
3 participants