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

Table表格复制粘贴后,列之间没有tab制表符分隔,行之间也没有换行符 #163

Open
w4rw4r opened this issue Mar 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@w4rw4r
Copy link

w4rw4r commented Mar 8, 2024

代码:
MarkdownWidget(
data: "| Header 1 | Header 2 | \n"+
"|----------|----------|\n"+
"| Cell 1 | Cell 2 |\n",
)

全选复制粘贴结果如下:
Header 1Header 2Cell 1Cell 2

渲染结果如下图:
table

@w4rw4r w4rw4r added the bug Something isn't working label Mar 8, 2024
@asjqkkkk
Copy link
Owner

asjqkkkk commented Mar 8, 2024

@w4rw4r 你好,的确是这样的,目前暂时没想到一个比较简单的解决办法

目前有一个pull request可以实现这个效果: #125

但是它没有经过充分的测试,并且带来了一些额外的问题,所以暂时没有被合并

@w4rw4r
Copy link
Author

w4rw4r commented Mar 11, 2024

谢谢回复,我使用了这个pull request,暂时解决了我的问题,等待更好的解决方案

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants