You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to render errors created from the user's incorrect HTML code. According to the doc, this feature is available by default, from the "onValidate" prop. It validates Css and JavaScript just fine but for some reason it isn't catching html errors- it won't even log them. open tags, <div, will highlight and prompt suggestions but "onValidate" won't return a marker for it, neither will unclosed closed tags <li> <ul> this is an item </ul> .
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to render errors created from the user's incorrect HTML code. According to the doc, this feature is available by default, from the "onValidate" prop. It validates Css and JavaScript just fine but for some reason it isn't catching html errors- it won't even log them. open tags,
<div
, will highlight and prompt suggestions but "onValidate" won't return a marker for it, neither will unclosed closed tags<li> <ul> this is an item </ul>
.Beta Was this translation helpful? Give feedback.
All reactions