Open
Description
The HtmlElement.ofNode function is just inherited from Element so it allows you to pass in Elements and get them converted to HtmlElements without any check so it's not really type safe.
So this will set the non existing contentEditable property on plain elements.
node->HtmlElement.ofNode->Belt.Option.forEach(HtmlElement.setContentEditable(True))
Metadata
Metadata
Assignees
Labels
No labels