Replies: 1 comment 2 replies
|
You should be able to create your own Blocks elements if you need a highly customized UI https://grapesjs.com/docs/modules/Blocks.html#customization |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Hello ! I work on a project with a strong design system implemented in webcomponents, so we are planning on recreating the blocks pannel with it.
Stack:
For now, we use the
labelfield in the block definition to add the HTML string, but it does not work (no render), nor providing JSX element to this field (render [object Object]).From our understanding of the documentation label should only be the text displayed, so is there any way to render the whole pannel with our custom components ?
contentunderstand JSX but not label ?Here is an extract of the editor.init :
All reactions