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

记录文档浏览位置 #4042

Closed
88250 opened this issue Feb 13, 2022 · 20 comments
Closed

记录文档浏览位置 #4042

88250 opened this issue Feb 13, 2022 · 20 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Feb 13, 2022

https://ld246.com/article/1644762977238

用户指南不记录。

@choyy
Copy link

choyy commented Mar 3, 2022

刚才打开思源竟然就直接是上次浏览的位置(而且该位置上方及下方都未加载)
还以为是这个功能实现了,结果没有,这就很神奇了,所以这是 bug 吗?

@88250
Copy link
Member Author

88250 commented Mar 3, 2022

@choyy 这个应该是聚焦到某个块了,看下编辑器上部的面包屑。

@choyy
Copy link

choyy commented Mar 3, 2022

怎么看?是有个双向箭头吗
而且它只会聚焦到那一个文档的那一个位置,这有可能是什么原因?

@88250
Copy link
Member Author

88250 commented Mar 3, 2022

聚焦到的层次图标会有高亮

image

@choyy
Copy link

choyy commented Mar 3, 2022

图片
一打开是这样的,好像确实是高亮
但是不聚焦鼠标点一下标题那里也会高亮,又但是有的标题点一下又没有高亮???

@choyy
Copy link

choyy commented Mar 3, 2022

而且同一标题有时候点一下会高亮,有时候又不会。。。

@88250
Copy link
Member Author

88250 commented Mar 3, 2022

麻烦录屏演示一下操作。

@88250
Copy link
Member Author

88250 commented Mar 3, 2022

麻烦再试下默认主题。

@choyy
Copy link

choyy commented Mar 3, 2022

还是同样

@88250
Copy link
Member Author

88250 commented Mar 3, 2022

通过大纲跳转以后,已经不再原来聚焦的层次里面了。

@choyy
Copy link

choyy commented Mar 3, 2022

那这个启动思源聚焦是怎么回事
能搞成记住浏览位置吗

@88250
Copy link
Member Author

88250 commented Mar 3, 2022

启动聚焦的问题暂时不清楚原因,后续会留意。

这个 issue 就是打算要做记住浏览位置,但是近期应该没有时间推进,还得再等等。

@choyy
Copy link

choyy commented Mar 3, 2022

我似乎知道怎么回事了

  • 步骤
    • 复制文档的某个块为嵌入块,然后关闭该文档
    • 在另一个文档嵌入
    • 点击嵌入块,在浮窗中 ctrl+点击面包屑在新标签打开
    • 然后关闭思源再打开就是直接聚焦到该块

@88250
Copy link
Member Author

88250 commented Mar 3, 2022

非常感谢,我这里也可以重现,后面我们会进行确认。

@88250
Copy link
Member Author

88250 commented Mar 3, 2022

@choyy 经过确认,这个是个特性,会保留聚焦状态。

@choyy
Copy link

choyy commented Mar 5, 2022

似乎不是嵌入块打开的文档也会聚焦,暂时不清楚是什么原因

@woniuxia
Copy link

woniuxia commented Aug 2, 2022

点赞~

@woniuxia
Copy link

woniuxia commented Aug 5, 2022

@Vanessa219 V大这个功能上了后,#5433 这个功能是默认解决吗,还是需要单独处理?

@88250
Copy link
Member Author

88250 commented Aug 5, 2022

@woniuxia 应该可以默认解决,如果不行的话请等发布后再到 #5433 中提醒我们一下,谢谢。

88250 added a commit that referenced this issue Aug 5, 2022
Vanessa219 added a commit that referenced this issue Aug 6, 2022
Vanessa219 added a commit that referenced this issue Aug 7, 2022
Vanessa219 added a commit that referenced this issue Aug 7, 2022
Vanessa219 added a commit that referenced this issue Aug 7, 2022
Vanessa219 added a commit that referenced this issue Aug 8, 2022
Vanessa219 added a commit that referenced this issue Aug 8, 2022
Vanessa219 added a commit that referenced this issue Aug 8, 2022
88250 added a commit that referenced this issue Aug 8, 2022
Vanessa219 added a commit that referenced this issue Aug 8, 2022
@88250 88250 closed this as completed Aug 8, 2022
@choyy
Copy link

choyy commented Apr 26, 2023

发现从文档树打开文档可以跳转到浏览位置,但从搜索面板打开文档不跳转

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

No branches or pull requests

4 participants