Why doesn't the content block show up in the Site Editor | Schema

Hey everyone,
Good morning.

We’re experiencing an issue with blocks in the site editor.

CURRENT BEHAVIOR
We’re creating a LP and leaving content to be edited. We’re bringing in the blocks like this:

We’ve already tried removing getSchema and using only the Schema, but the blocks don’t show up in the Site Editor.

Do you know what might be happening? Have you run into anything similar?

Looking forward to your replies.

I had a similar issue, check if your schema is in the root component of the project, the same one you declared in interfaces.json, another way would be to declare it in interfaces.json if I’m not mistaken.

Hey @Erislandio, thanks for the contribution. We managed to solve it here.

Leaving this here for the whole community in case anyone runs into this issue: When the schema is defined in child components or in imports, instead of being exported directly to the interface, it won’t show up in the site-editor. Therefore, you need to define the schema in the main component and pass it as a prop to the other components. This will ensure the schema is recognized and displayed correctly in the site-editor.

Best,
Estevão.