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

移除复制代码块末尾的换行 #1345

Closed
jamebal opened this issue Jan 5, 2023 · 6 comments
Closed

移除复制代码块末尾的换行 #1345

jamebal opened this issue Jan 5, 2023 · 6 comments
Assignees
Milestone

Comments

@jamebal
Copy link

jamebal commented Jan 5, 2023

预览模式下,点击代码块右上角的复制按钮,复制的文本会自动换行,怎么去掉换行?

@Vanessa219
Copy link
Owner

是末尾会多一个换行么?

@jamebal
Copy link
Author

jamebal commented Jan 6, 2023

是末尾会多一个换行么?
是的

@jamebal
Copy link
Author

jamebal commented Jan 6, 2023

相当于复制的文字多了一个回车

@jamebal
Copy link
Author

jamebal commented Jan 9, 2023

请问有没有临时的解决办法,谢谢

@Vanessa219 Vanessa219 self-assigned this Jan 9, 2023
@Vanessa219
Copy link
Owner

粘贴的时候进行一下 trim。目前没有时间进行修改

@jamebal
Copy link
Author

jamebal commented Jan 12, 2023

好的谢谢

@Vanessa219 Vanessa219 added this to the 3.9 milestone Jan 15, 2023
@Vanessa219 Vanessa219 changed the title 复制的代码会自动换行,怎么去掉换行 移除复制代码块末尾的换行 Jan 15, 2023
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