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
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
I spotted this while working on the HtmlEntityHinting.
It currently relies on getTagInfo().tagName to know whether the cursor is within an html tag or not.
HtmlUtils doesn't return a tagName, for example when in an "" closing tag.
The text was updated successfully, but these errors were encountered:
HtmlUtils getTagInfo() was originally written for Quick Edit feature and it does not want to allow users to do quick editting with the close tag. So we do have code that explicitly returns an empty tag info for a closing tag.
then maybe something else should be added like a property which is true when it is a closing tag so extensions or other parts of the code can first check if the tag name is not empty and additionally if it is empty the could check if it is a closing tag.
By the way i think i heard someone requesting quick edit also on the closing tag.
I spotted this while working on the HtmlEntityHinting.
It currently relies on getTagInfo().tagName to know whether the cursor is within an html tag or not.
HtmlUtils doesn't return a tagName, for example when in an "" closing tag.
The text was updated successfully, but these errors were encountered: