Skip to content

Improve pasting of hyperlinks and block ref anchor text #14625

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

Closed
Tracked by #14795
TCOTC opened this issue Apr 16, 2025 · 4 comments
Closed
Tracked by #14795

Improve pasting of hyperlinks and block ref anchor text #14625

TCOTC opened this issue Apr 16, 2025 · 4 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Apr 16, 2025

复制超链接文本或块引用,粘贴时没有将选中文本作为锚文本

超链接

https://ld246.com/article/1744815738410

只有粘贴 Markdown 纯文本链接的时候才正常将选中文本作为锚文本:

video.webm

块引用

video.webm
@TCOTC TCOTC changed the title 复制网页文本链接,粘贴时没有将选中文本作为锚文本 复制链接文本,粘贴时没有将选中文本作为锚文本 Apr 16, 2025
@TCOTC TCOTC changed the title 复制链接文本,粘贴时没有将选中文本作为锚文本 复制链接文本或块引用,粘贴时没有将选中文本作为锚文本 Apr 18, 2025
@TCOTC TCOTC changed the title 复制链接文本或块引用,粘贴时没有将选中文本作为锚文本 复制超链接文本或块引用,粘贴时没有将选中文本作为锚文本 Apr 18, 2025
@Vanessa219 Vanessa219 added this to the 3.1.29 milestone May 6, 2025
Vanessa219 added a commit that referenced this issue May 6, 2025

Verified

This commit was signed with the committer’s verified signature.
bagder Daniel Stenberg
@TCOTC
Copy link
Contributor Author

TCOTC commented May 6, 2025

通过右键菜单复制链接或块引用,选中文本粘贴还是有问题:

video.webm

选中链接复制,选中文本粘贴还是有问题:

video.webm

Vanessa219 added a commit that referenced this issue May 7, 2025

Verified

This commit was signed with the committer’s verified signature.
bagder Daniel Stenberg
@88250 88250 changed the title 复制超链接文本或块引用,粘贴时没有将选中文本作为锚文本 Improve pasting of hyperlinks and block ref anchor text May 7, 2025
@TCOTC
Copy link
Contributor Author

TCOTC commented May 9, 2025

还有选中文本按 Ctrl+K 的情况(目前只有 Markdown 链接纯文本才能直接转换):

video.webm

Vanessa219 added a commit that referenced this issue May 10, 2025

Verified

This commit was signed with the committer’s verified signature.
bagder Daniel Stenberg
@TCOTC
Copy link
Contributor Author

TCOTC commented May 10, 2025

在代码块全选复制 Markdown 链接,再选中文本 Ctrl+V 粘贴会有问题(用代码块的复制按钮就正常):

video.webm

Vanessa219 added a commit that referenced this issue May 11, 2025

Verified

This commit was signed with the committer’s verified signature.
bagder Daniel Stenberg
@TCOTC
Copy link
Contributor Author

TCOTC commented May 11, 2025

在代码块全选复制 Markdown 链接(用代码块的复制按钮就正常),再选中文本通过右键菜单粘贴会有问题:

video.webm

Vanessa219 added a commit that referenced this issue May 11, 2025

Verified

This commit was signed with the committer’s verified signature.
bagder Daniel Stenberg
EightDoor added a commit to EightDoor/siyuan that referenced this issue May 13, 2025

Verified

This commit was signed with the committer’s verified signature.
bagder Daniel Stenberg
* commit '38e402fd394892feb8acffcef37218c3a0a023e2': (184 commits)
  🔖 Release v3.1.29
  🎨 Clean code
  🎨 siyuan-note#14812
  🎨 siyuan-note#14812
  🎨 siyuan-note#14812
  🎨 Improve export merging sub docs https://ld246.com/article/1747056142309
  🎨 siyuan-note#14807
  📝 Update changelogs
  🎨 siyuan-note#14807
  🎨 siyuan-note#14443
  ⬆️ Upgrade lute
  🎨 siyuan-note#14797
  🎨 7.1 siyuan-note#14290
  🎨 siyuan-note#14625
  🎨 siyuan-note#14807
  🎨 siyuan-note#14704
  📝 Update changelogs
  🎨 siyuan-note#14625
  📝 Update changelogs
  📝 Update changelogs
  ...
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