Skip to content

Database table view primary key supports pasting reference block #10690

Closed
@TCOTC

Description

@TCOTC

In what scenarios do you need this feature?

如果搜索支持识别包含块ID的引用块、超链接,就不需要删去ID前后的文本了。

目前可以用 ID 搜索到对应的块:

image

但用包含块ID的引用块、超链接就无法搜索了:

image

image

image

希望数据库能识别引用块 - 链滴

Describe the optimal solution

希望这几种方式都能搜索到对应ID的块

Describe the candidate solution

No response

Other information

No response

Activity

88250

88250 commented on Mar 22, 2024

@88250
Member

复制引用块应该可以考虑,其他几种复制不考虑了 @Vanessa219

TCOTC

TCOTC commented on Mar 22, 2024

@TCOTC
ContributorAuthor

其他几种不能顺便做吗?

88250

88250 commented on Mar 22, 2024

@88250
Member

@Vanessa219 有空时评估一下

added this to the 3.0.6 milestone on Mar 28, 2024
Vanessa219

Vanessa219 commented on Mar 28, 2024

@Vanessa219
Member

这个和引用是一致的,如果使用其他就不进行过度解析了。以免链接只是想粘贴内容的情况无法识别。

changed the title [-](数据库主键)搜索支持识别包含块ID的引用块、超链接[/-] [+]Database table view primary key supports pasting reference block[/+] on Mar 28, 2024
added a commit that references this issue on Mar 28, 2024
TCOTC

TCOTC commented on Apr 1, 2024

@TCOTC
ContributorAuthor

所以现在是只增加支持了第一种吗:

image

Vanessa219

Vanessa219 commented on Apr 1, 2024

@Vanessa219
Member

这个和引用是一致的,如果使用其他就不进行过度解析了。以免链接只是想粘贴内容的情况无法识别。

@TCOTC

TCOTC

TCOTC commented on Apr 1, 2024

@TCOTC
ContributorAuthor

这个和引用是一致的,如果使用其他就不进行过度解析了。以免链接只是想粘贴内容的情况无法识别。

这句话我没看懂所以才问的 😂

Vanessa219

Vanessa219 commented on Apr 2, 2024

@Vanessa219
Member

只有((20200812220555-lj3enxa '请从这里开始'))在段落块中粘贴会被识别为引用,其余的为链接和文本。因此数据库里面保持一致。链接和文本就不进行识别,以免用户只是想粘贴内容而不是引用。

TCOTC

TCOTC commented on Apr 2, 2024

@TCOTC
ContributorAuthor

总感觉跟预期有点不一样,粘贴在上面还是不能搜索到

image

TCOTC

TCOTC commented on Apr 2, 2024

@TCOTC
ContributorAuthor

总感觉跟预期有点不一样,粘贴在上面还是不能搜索到

我原本想要的是「搜索支持识别包含块ID的引用块、超链接,不需要删去块 ID 前后的文本」

Vanessa219

Vanessa219 commented on Apr 3, 2024

@Vanessa219
Member

呃,以为是粘贴的时候可以直接粘贴为引用。搜索的话 @88250 看能不能处理一下?

88250

88250 commented on Apr 3, 2024

@88250
Member

关联 #10848

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@TCOTC

      Issue actions

        Database table view primary key supports pasting reference block · Issue #10690 · siyuan-note/siyuan