-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
-
依赖 增加一个设置笔记本与文档排序的内核 API siyuan-note/siyuan#15776
修改 sort.json 之后还要刷新所有前端的文档树,插件搞不定啊,有没有内核 API ?
-
依赖
/api/filetree/moveDocsByID支持设定文档移动到指定位置的排序 siyuan-note/siyuan#15617 -
在插件设置中添加布尔配置项:“移动的文档排序到目标位置的顶部”,默认 true
-
非 API 实现思路:获取父文档的所有直接子文档,根据 sort.json 计算实际排序,然后修改 sort.json
-
如果目标位置的父文档已经是展开状态,需要刷新