-
I have the following custom component that I want to make self closing. Current Output <body>
<variable-item group="item">
</variable-item>Hello World
</body> Desired Output <body>
<variable-item group="item" />Hello World
</body> I have tried modifying the code in the <body>
<variable-item group="item">Hello World
</variable-item>
</body> |
Beta Was this translation helpful? Give feedback.
Answered by
artf
Jul 4, 2023
Replies: 1 comment
-
This is not related to GrapesJS, you can't have custom void/self-closing elements |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
viicslen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not related to GrapesJS, you can't have custom void/self-closing elements