Skip to content

The text pasted into the database supports the use of \t and \n for segmentation and line breaks #13259

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
TCOTC opened this issue Nov 25, 2024 · 1 comment
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Nov 25, 2024

粘贴到数据库的文本支持使用 \t\n 进行分割和换行

#13068 的后续

目前是用换行来分隔单元格。应该改成:

  1. 使用制表符来分隔单元格
  2. 使用换行来分隔条目

Wolai、FlowUs、思源:

video.webm

另外,在 Wolai 里,如果粘贴时有空行,也会空出条目:

image

而且只用选中一个单元格就能粘贴,不用多选单元格。

@TCOTC
Copy link
Contributor Author

TCOTC commented Dec 20, 2024

相关反馈:https://ld246.com/article/1734664175113

@Vanessa219 Vanessa219 added this to the 3.1.17 milestone Dec 22, 2024
Vanessa219 added a commit that referenced this issue Dec 22, 2024

Verified

This commit was signed with the committer’s verified signature.
@Vanessa219 Vanessa219 changed the title 改进粘贴文本到数据库 粘贴到数据库的文本支持使用 \t\n 进行分割和换行 Dec 22, 2024
@88250 88250 changed the title 粘贴到数据库的文本支持使用 \t\n 进行分割和换行 The text pasted into the database supports the use of \t and \n for segmentation and line breaks Dec 23, 2024
mouyase pushed a commit to mouyase/siyuan that referenced this issue Feb 28, 2025
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