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

代码块内复制粘贴会少一个换行 #13994

Closed
1 of 2 tasks
TCOTC opened this issue Feb 1, 2025 · 1 comment
Closed
1 of 2 tasks

代码块内复制粘贴会少一个换行 #13994

TCOTC opened this issue Feb 1, 2025 · 1 comment

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Feb 1, 2025

video.webm

同时需要测试 #13267


考虑方法:只有全选文本时才去掉末尾的换行,其余情况不去除

  • Ctrl+A 选中 → 选区去除末尾的换行
  • 三击鼠标左键选中 → 也去除末尾的换行,跟段落块内三击选中文本一致 → 浏览器控制的,不好搞,算了

去掉这个替换,然后在代码块中按 Ctrl+A 时选区去掉最后的换行符

Image

@TCOTC
Copy link
Contributor Author

TCOTC commented Feb 3, 2025

#14008

@TCOTC TCOTC closed this as completed Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant