-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
增加区分默认图标和自定义图标样式类 #3270
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
Comments
自定义图标是 img, 默认图标是 svg。可以通过 tagName 进行区分 |
这样的就是系统的,其他的就是自定义的 |
可能我没表述清楚,我说的默认图标就是“ iconfile” 这个图标,其他用户选择的系统图标和用户导入的图标是自定义图标。我想筛选的是用户有没有自己选择图标,比如,筛选用户更换过图标的元素 ,css样式却筛选不出来。 |
v1.5.5 支持 |
@Vanessa219 @88250 非常感谢两位支持这个功能,千里膜拜 🚀 🚀 🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
由于css中不能过滤svg元素下use元素 的xlink:href 字符,“xlink:href ” 不是use的属性。
希望在svg的元素上增加一个属性标识该svg是默认的图标,
例如:class=‘def-icon’ 或者 data-type=“iconfile”。
这样在主题thems.css文件中配置笔记文件图标和层级图标。
The text was updated successfully, but these errors were encountered: