Replies: 1 comment
-
Turns out it was the browser, see: #1121 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the event
component:add
, i'm trying to add a<td><div>my element</div></td>
inside a tr but it will always strip the td and will only add the div. Is there a reason for this?If i do either of these, grapes will strip the td and will only add the component's html:
component.replaceWith(
<td>${component.toHTML()}</td>
)component.parent()?.append(
<td>${component.toHTML()}</td>
)Also, the above are strings with backticks ` but github uses those characters to render them as code. But I'm adding strings, not jsx.
Adding the td using row?.getEl()?.insertAdjacentHTML() works, which means it's grapes that won't let me add s
Beta Was this translation helpful? Give feedback.
All reactions