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

用尖括号输入链接时出现异常 #1720

Open
hexadecimal233 opened this issue Nov 24, 2024 · 1 comment
Open

用尖括号输入链接时出现异常 #1720

hexadecimal233 opened this issue Nov 24, 2024 · 1 comment
Assignees
Milestone

Comments

@hexadecimal233
Copy link

编辑模式

  • wysiwyg 所见即所得模式
  • ir 即时渲染模式
  • sv 分屏编辑预览模式

描述问题

在任何模式下,在尖括号<>内Ctrl+V粘贴链接,总是会在链接后方加上%E2%80%B8导致无法打开,如果在输入左括号后就粘贴链接最后闭上,自动生成的链接则不会带上。

<链接>(链接%E2%80%B8) <--多了

期待的结果

<链接>(链接)

截屏或录像

image

版本信息

  • 版本:网页Demo
  • 操作系统:Windows
  • 浏览器:Thorium 128

其他信息

@Vanessa219
Copy link
Owner

@88250 需要修改一下这两个方法

vditor.lute.SpinVditorDOM('<p data-block="0">&lt;https://github.com/siyuan-note/siyuan/issues/13322<wbr>&gt;</p>');
vditor.lute.SpinVditorIRDOM('<p data-block="0">&lt;https://github.com/siyuan-note/siyuan/issues/13322<wbr>&gt;</p>');

@Vanessa219 Vanessa219 self-assigned this Dec 3, 2024
@Vanessa219 Vanessa219 added this to the 3.10 milestone Dec 3, 2024
@Vanessa219 Vanessa219 assigned 88250 and unassigned Vanessa219 Dec 3, 2024
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

3 participants