Is your plugin request related to a problem? Please describe.
Some SVG generated by software add similar style attributes to a lot of nodes.
Describe what the plugin should do
In the same idea of reusePaths, if a style attribute is reused at least at the same amount of characters it would require to create a new <style> tag, it could be reused.
Additional context
I don't think it's trivial to implement, but I wasn't even able to find a discussion on this topic.
Implementation
Is your plugin request related to a problem? Please describe.
Some SVG generated by software add similar style attributes to a lot of nodes.
Describe what the plugin should do
In the same idea of reusePaths, if a style attribute is reused at least at the same amount of characters it would require to create a new
<style>tag, it could be reused.Additional context
I don't think it's trivial to implement, but I wasn't even able to find a discussion on this topic.
Implementation