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

复制数据库单元格支持粘贴为表格 #13025

Closed
TCOTC opened this issue Nov 4, 2024 · 2 comments
Closed

复制数据库单元格支持粘贴为表格 #13025

TCOTC opened this issue Nov 4, 2024 · 2 comments

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Nov 4, 2024

Wolai 是直接粘贴为表格的:#10488 (comment)

但考虑到思源的用户需求不同,我想到一个方案:

复制数据库单元格之后,在右键菜单增加一个“粘贴为表格”:

image

关联 #10488


数据库主键支持富文本,如果支持的是文档块这种容器块的功能,从主键创建文档时需要把主键内容移动到文档内(因为标题会丢失大量格式)

@88250
Copy link
Member

88250 commented Nov 17, 2024

这个不考虑了,因为数据库字段后续会支持富文本 #11553 会导致普通表格解析出问题。

@88250 88250 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 17, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Nov 20, 2024

想了一下,如果选中的单元格内没有除段落块以外的块级元素,还是能粘贴为表格的。

只在单元格内包含其他块级元素时禁止粘贴为表格

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

2 participants