Skip to content

PDF annotation supports setting associated block ID list #10327

Closed
@CSMsamuel

Description

@CSMsamuel

希望高亮的文本可以聚焦到多个块或者一个超级块

In what scenarios do you need this feature?

image.png

如图所示,我需要在pdf上高亮并做一个注释,但这个注释只能聚焦到一个内容块。这导致了我无法使用行间公式,而如果我需要备注更复杂的内容则无法完成。

image.png

image.png

如果我在聚焦的窗口中打字,再次聚焦依然不能成功

image.png

合并成超级块也是不行的

Describe the optimal solution

方案一

高亮的文本可以聚焦到多个块或者一个超级块,这样高亮文本的浮动窗口才更能发挥其意义。

方案二

高亮文本的注释附着在pdf上,且能够批量导出。

image.png

Describe the candidate solution

No response

Other information

No response

Activity

88250

88250 commented on Feb 6, 2024

@88250
Member

考虑了下,比较可行的方案是在 PDF 标注上加一个菜单/状态:绑定到父块(默认绑定到子块,也就是现在的段落块),这样悬浮这个 PDF 标注的时候就使用父块,即编辑器中 PDF 标注引用元素父块(段落块)的父块,这样就能关联到容器块了,并且不影响现有数据。 @Vanessa219

image

zxhd863943427

zxhd863943427 commented on Feb 6, 2024

@zxhd863943427
Contributor

我建议可以进一步作为一种块属性,可以自由选择绑定到任何的块。

88250

88250 commented on Feb 6, 2024

@88250
Member

嗯,是个好主意。对 PDF 中的标注添加一个绑定 ID 的列表,这样悬浮时就不调用 getRefIDsByFileAnnotationID 了,而是直接用设置的 IDs 查询。

added this to the 2.12.8 milestone on Feb 7, 2024
removed their assignment
on Feb 7, 2024
changed the title [-]希望高亮的文本可以聚焦到多个块或者一个超级块[/-] [+]PDF annotation supports setting associated block ID list[/+] on Feb 7, 2024
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@zxhd863943427@CSMsamuel

      Issue actions

        PDF annotation supports setting associated block ID list · Issue #10327 · siyuan-note/siyuan