Skip to content

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

Closed
@Achuan-2

Description

@Achuan-2
Member

该问题是否已经被报告过了? 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

Activity

changed the title [-]搜索击中超链接,超链接会被分割[/-] [+]搜索预览区高亮元素分隔问题[/+] on Mar 7, 2023
added this to the 2.7.8 milestone on Mar 7, 2023
changed the title [-]搜索预览区高亮元素分隔问题[/-] [+]搜索结果被高亮分割的同一行内元素应进行合并[/+] on Mar 7, 2023
added a commit that references this issue on Mar 7, 2023
Achuan-2

Achuan-2 commented on Mar 7, 2023

@Achuan-2
MemberAuthor

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

88250

88250 commented on Mar 8, 2023

@88250
Member

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

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Vanessa219@Achuan-2

      Issue actions

        搜索结果被高亮分割的同一行内元素应进行合并 · Issue #7585 · siyuan-note/siyuan