Skip to content
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

文档树的 li 元素新增 data-icon 属性用于表示笔记本或文档的自定义图标,需要实时更新 #12728

Closed
TCOTC opened this issue Oct 7, 2024 · 2 comments

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Oct 7, 2024

例如: data-icon="1f4d1"(Unicode)即表示笔记本或文档使用的是图标 U+1F4D1 📑

如果文档或笔记本使用的是默认图标则不添加 data-icon 属性。

如果添加的是自定义表情则 data-icon 的值为图标文件的相对路径。

li 元素:

image


@TCOTC TCOTC changed the title 文档树的 li 元素新增 data-customicon 属性用于表示笔记本或文档是否有自定义图标,需要实时更新 文档树的 li 元素新增 data-customicon 属性用于表示笔记本或文档的自定义图标,需要实时更新 Oct 8, 2024
@TCOTC TCOTC changed the title 文档树的 li 元素新增 data-customicon 属性用于表示笔记本或文档的自定义图标,需要实时更新 文档树的 li 元素新增 data-icon 属性用于表示笔记本或文档的图标,需要实时更新 Oct 8, 2024
@TCOTC TCOTC changed the title 文档树的 li 元素新增 data-icon 属性用于表示笔记本或文档的图标,需要实时更新 文档树的 li 元素新增 data-icon 属性用于表示笔记本或文档的自定义图标,需要实时更新 Oct 21, 2024
@siyuan-note siyuan-note deleted a comment Oct 25, 2024
@Vanessa219
Copy link
Member

原需求的 issue 已经实现好关闭了,至于隐藏文档这功能太隐蔽了吧,隐藏了要怎么打开呢?

@Vanessa219 Vanessa219 removed their assignment Nov 22, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Nov 22, 2024

等真有这个需求再说好了

@TCOTC TCOTC closed this as not planned Won't fix, can't repro, duplicate, stale Nov 22, 2024
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

No branches or pull requests

2 participants