Undefined end tag

May I have an explanation for this?

Screenshot 2020-05-28 at 8.34.07 PM

Note: I was adding a element and I started with the end tag. The was Js “Un-taged” too.

CodeMirror linting issues…

1 Like

They probaly just need to do

If(tag){
// auto insert
}else{
// Don't do anything to avoid annoying user
}

Browser: The user is typing a end tag
CodeMirror: The last tag according to javascript is “undefined” assuming that’s a tag I’ll insert it
User: I don’t have a undefined tag.

1 Like