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

Image / Caption "Warning: validateDOMNesting(...): <p> cannot appear as a descendant of <p>." #404

Open
lenadax opened this issue Jun 28, 2024 · 1 comment

Comments

@lenadax
Copy link
Contributor

lenadax commented Jun 28, 2024

Upon providing an Image Block with a Caption containing a Description, the following Warning occurs in the browser console:

Warning: validateDOMNesting(...): <p> cannot appear as a descendant of <p>.

The related Caption Block in 'Caption.js' will indeed render a <p> element within another <p> element, which leads to an immense slowing of the rendering of the entire page (at least locally).

@iRohitSingh
Copy link
Member

@lenadax We already have issues: #398 . Now it's merged.

wait for next release . Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants