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

标注同步至 Hypothesis 时,备注的内容被放入了高亮的内容中 #3666

Closed
OverflowCat opened this issue Apr 4, 2022 · 4 comments

Comments

@OverflowCat
Copy link

请说明发生问题的环境

  • 操作系统 Windows 11

  • 浏览器版本 Chrome 99.0.4844.82

请描述你的问题

标注同步至 Hypothesis 时,备注的内容被追加在高亮的内容的末尾,导致 Hypothes.is 扩展在显示来自简悦的标注时,无法准确判定高亮的结束位置,同时也带来 Hypothesis 和其他软件(比如 Logseq)联动时的不便。

image期望的效果

image
目前的效果

@Kenshin
Copy link
Owner

Kenshin commented Apr 4, 2022

收到,应该跟 #3548 是关联问题,我看看如何解决。

@OverflowCat
Copy link
Author

今天确实还遇到了一个结构错乱的问题,就是高亮的内容里含有特殊样式的话,会把周围的相同单词也高亮上。(需要标注好后第二次进入阅读模式)

image
这个高亮的句子 中的「copy」是粗体,第二次进入阅读模式后,下一句中的「copy」这个单词也都被高亮了。

@Kenshin
Copy link
Owner

Kenshin commented Apr 4, 2022

今天确实还遇到了一个结构错乱的问题,就是高亮的内容里含有特殊样式的话,会把周围的相同单词也高亮上

英文中因为字频比较高,确实有存在这种可能性,虽然不大...

@Kenshin Kenshin added the done label May 18, 2022
@Kenshin
Copy link
Owner

Kenshin commented Jun 9, 2022

1.0.2 版本解决了这个问题,我直接关闭这个 issues 了。😄

@Kenshin Kenshin closed this as completed Jun 9, 2022
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

2 participants