Skip to content

搜索结果被高亮分割的同一行内元素应进行合并 #7585

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

Closed
3 tasks done
Achuan-2 opened this issue Mar 6, 2023 · 2 comments
Closed
3 tasks done

搜索结果被高亮分割的同一行内元素应进行合并 #7585

Achuan-2 opened this issue Mar 6, 2023 · 2 comments
Assignees
Milestone

Comments

@Achuan-2
Copy link
Member

Achuan-2 commented Mar 6, 2023

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

该问题是否能够在默认主题(daylight/midnight)下重现? Can the issue be reproduced with the default theme (daylight/midnight)?

  • 我能够在默认主题下重现该问题
    I was able to reproduce the issue with the default theme

该问题是否可能是由于扩展功能导致? Could the issue be due to extensions?

  • 我已经排除了扩展导致问题的可能性
    I've ruled out the possibility that the extension is causing the problem.

描述问题 Describe the problem

目前思源为了改进搜索的高亮问题,会导致当搜索文本击中超链接后,超链接被分割。
image

期待的结果 Expected result

希望超链接不被分割,按理来说链接是支持内嵌mark的,是出于什么考量才这样设计

image

截屏或者录屏演示 Screenshot or screen recording presentation

No response

版本环境 Version environment

- Version: 2.7.7
- Operating System: Win11
- Browser (if used):

日志文件 Log file

更多信息 More information

@88250 88250 changed the title 搜索击中超链接,超链接会被分割 搜索预览区高亮元素分隔问题 Mar 7, 2023
@88250 88250 added the Bug label Mar 7, 2023
@88250 88250 added this to the 2.7.8 milestone Mar 7, 2023
@Vanessa219 Vanessa219 changed the title 搜索预览区高亮元素分隔问题 搜索结果被高亮分割的同一行内元素应进行合并 Mar 7, 2023
@Vanessa219 Vanessa219 added Enhancement and removed Bug labels Mar 7, 2023
Vanessa219 added a commit that referenced this issue Mar 7, 2023

Verified

This commit was signed with the committer’s verified signature.
@Achuan-2
Copy link
Member Author

Achuan-2 commented Mar 7, 2023

image
现在搜索高亮链接还是会被阻断

@88250
Copy link
Member

88250 commented Mar 8, 2023

@Achuan-2 拆分为多个元素是为了高亮关键字

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

3 participants