-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
替换stroke为currentColor导致svg变形 #74
Comments
已经有相关 PR 了:#68 |
感谢!看来不能使用了 |
可以临时处理一下,把 content = content.replace(/stroke="[a-zA-Z#0-9]*"/, 'stroke="currentColor"'); 这行代码注释掉,然后 |
学到了 谢谢😘 |
降级到v1.0.1版本就没这个问题了 |
I have published a forked version which supports disabling the replacement of the stroke colour. |
svg如下
使用插件引入会加粗

查看引入svg文件发现是由于stroker currentColor
某些情况下 我不需要改变svg的颜色!
The text was updated successfully, but these errors were encountered: