Closed fleischie closed 7 years ago
Properties, that can be attributes as well (e.g. color, border, etc.) are highlighted incorrectly as an attribute.
cssAttrRegion breaks pseudo-elements/-selectors though.
cssAttrRegion
So I suggest to fix this manually, by re-defining a cssAttrRegion, that is more robust for our use-case.
Another idea I just had: Copy the way thysultan/stylis.js parses css.
I think I have fixed this issue. Please open a new one, if the problem persists.
Properties, that can be attributes as well (e.g. color, border, etc.) are highlighted incorrectly as an attribute.
cssAttrRegion
breaks pseudo-elements/-selectors though.So I suggest to fix this manually, by re-defining a cssAttrRegion, that is more robust for our use-case.