Skip to content

Conversation

webistomin
Copy link

Hi! Thanks for your plugin.

During the development I had a problem. I needed to put the svg inside the <button>, but the plugin automatically added a div wrapper. I think this is not quite semantic. <button> must contain only phrasing content. Phrasing content is defined as including <span> or something else but not <div>.

So, I added new props for tag name. Also added props for wrapper and svg element classes to add more flexibility and functionality to plugin.

@shrpne
Copy link
Contributor

shrpne commented Jul 3, 2019

@webistomin you can check vue-inline-svg it doesn't add wrapper at all.

@zincplusplus
Copy link

I was just about to code this. Thanks @webistomin ! What is holding back this MR @seiyable ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants