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
When writing front-end tooling plugins, I need to track the individual tags/elements and their attributes for when html regenerates.
I think the easiest thing to do would be to make it possible to get back the html elements as objects.
I can probably put together a PR pretty quick, just want to see if there'd be any interest in merging first.
The text was updated successfully, but these errors were encountered:
I started experimenting, and while it took a little more modification than I thought to get the types to automatically resolve, it's still just an additional flag in the options that defaults to still returning the html as a string, so I'm not sure if there'd really be anything breaking other than maybe if some people are doing other things like re-exporting the types. 🤔
If you mean not changing the options at all, then I could expose it as a separate export maybe. 🤷
When writing front-end tooling plugins, I need to track the individual tags/elements and their attributes for when html regenerates.
I think the easiest thing to do would be to make it possible to get back the html elements as objects.
I can probably put together a PR pretty quick, just want to see if there'd be any interest in merging first.
The text was updated successfully, but these errors were encountered: