Skip to content

Improve database text field exporting #11945

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 Jul 10, 2024 · 9 comments
Closed

Improve database text field exporting #11945

TCOTC opened this issue Jul 10, 2024 · 9 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Jul 10, 2024

改进数据库导出预览(需要转义)

数据库.sy.zip

  • 字段标题是纯文本,不要解析 Markdown
  • 文本的软换行有问题

image

@TCOTC TCOTC changed the title 改进数据库导出预览 改进数据库导出预览(需要转义) Jul 10, 2024
@88250 88250 self-assigned this Jul 11, 2024
@88250 88250 changed the title 改进数据库导出预览(需要转义) Improve database text field exporting Jul 11, 2024
@88250 88250 added this to the 3.1.1 milestone Jul 11, 2024
88250 added a commit that referenced this issue Jul 11, 2024
@88250 88250 closed this as completed Jul 11, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Jul 13, 2024

还有问题:

  • | 符号
  • 换行

未命名.sy.zip

image

@TCOTC
Copy link
Contributor Author

TCOTC commented Jul 13, 2024

单元格内有多个换行的话还是会破坏表格:

image

@88250
Copy link
Member

88250 commented Jul 14, 2024

感谢反馈,稍后解决。

@TCOTC
Copy link
Contributor Author

TCOTC commented Jul 15, 2024

模板里的换行和 | 符号也还有问题:

image

image

@TCOTC
Copy link
Contributor Author

TCOTC commented Jul 15, 2024

导出时应该根据模板列的设置来决定是否需要换行:

  • 开启换行:正常换行
  • 关闭换行:连续的换行合并为一个空格

@TCOTC
Copy link
Contributor Author

TCOTC commented Jul 15, 2024

这个 <no value> 我觉得没必要显示,像数据库那样为空就行了:

image

@TCOTC
Copy link
Contributor Author

TCOTC commented Jul 15, 2024

希望这个样式也能显示出来,而不是纯文本:

image

@88250
Copy link
Member

88250 commented Jul 15, 2024

麻烦上传一下测试用的 .sy.zip

@88250
Copy link
Member

88250 commented Jul 15, 2024

模板字段的单独开 issue 后续再改进吧 #11988

.sy.zip 请上传到那里,谢谢。

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