Closed Inwerpsel closed 1 year ago
Can you please guide me to the exact place in the code where we extract classes for an element?
Sure, I added it to the description.
I'm also interested to hear if there's any issues running and testing the code locally, as it wasn't tested on many different environments yet. Feel free to open an issue for anything you'd come across 🙏
While creating the code that extracts classes for an element, I made the apparently unreasonable assumption that this is just a string.
However, for SVGs it's a SVGAnimatedString, which is an object. I previously checked for its type as a quick fix.
Currently these classes are only used to format the label of the groups:
https://github.com/Inwerpsel/use-theme-editor/blob/2928d3d2cdd4619a073893ba3e8fe4bb3c7ee369/src/functions/groupVars.js#L9