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

SSR block nested inside InnerBlocks not rendering inside container #21206

Closed
AvidRambo opened this issue Mar 27, 2020 · 2 comments
Closed

SSR block nested inside InnerBlocks not rendering inside container #21206

AvidRambo opened this issue Mar 27, 2020 · 2 comments
Labels
[Status] Needs More Info Follow-up required in order to be actionable. [Type] Question Questions about the design or development of the editor.

Comments

@AvidRambo
Copy link

I'm trying to render a ssr block inside another ssr block, but it appears outside the container.

This is how I save the parent block content save: () => <InnerBlocks.Content />

I display it to the client this way

<div id={panelid} className={classcollapsible} aria-expanded="false">
  <div dangerouslySetInnerHTML={{ __html: innerblockcontent }} className="panel-body panel-body-inverted" />
</div>

Resulting on this
error

This issue adds some context #6751 (comment)

@talldan talldan added Needs Technical Feedback Needs testing from a developer perspective. Needs Testing Needs further testing to be confirmed. [Type] Question Questions about the design or development of the editor. labels Apr 7, 2020
@talldan
Copy link
Contributor

talldan commented Sep 29, 2020

@codigodo Sorry it's taken a little (or long) while to get back to you on this issue. Is it something you're still experiencing?

I'm finding it a little hard to understand from the information provided what could be happening, would you be able to provide a fuller code example?

@talldan talldan added [Status] Needs More Info Follow-up required in order to be actionable. and removed Needs Technical Feedback Needs testing from a developer perspective. Needs Testing Needs further testing to be confirmed. labels Sep 29, 2020
@talldan
Copy link
Contributor

talldan commented Dec 16, 2020

Closing the issue as there's been no response from the OP.

@talldan talldan closed this as completed Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Needs More Info Follow-up required in order to be actionable. [Type] Question Questions about the design or development of the editor.
Projects
None yet
Development

No branches or pull requests

2 participants