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

Indicates the insertion position when dragging files #12857

Closed
TCOTC opened this issue Oct 21, 2024 · 3 comments
Closed

Indicates the insertion position when dragging files #12857

TCOTC opened this issue Oct 21, 2024 · 3 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Oct 21, 2024

拖入文件时指示插入位置

比如拖入一个资源文件(链接),插入的位置可以显示一个光标;
比如拖入一个资源文件(块),插入的位置可以显示一条线。

目前是插入之后才知道会插入哪里:

default.webm

Notion 就会指示插入位置:

default.webm
Vanessa219 added a commit that referenced this issue Oct 22, 2024
@Vanessa219 Vanessa219 added this to the 3.1.11 milestone Oct 22, 2024
@Vanessa219
Copy link
Member

上传文件统一为显示光标插入点,横线就不考虑了。

@88250 88250 changed the title 拖入文件时指示插入位置 Indicates the insertion position when dragging files Oct 22, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Oct 25, 2024

横线就不考虑了

01 但是看起来会有点不对,光标的位置和文件插入的位置不同:

default.webm

02 我觉得拖拽块引的时候也需要有:

default.webm
default.webm

@Vanessa219
Copy link
Member

光标在文字中粘贴也是如此的,先保持一致。后面看看是否需要隔断为三个块之类的。

文档树和块标弄不出光标来 😭

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