Skip to content

复制块到表格触发状态异常 #4141

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
ziyue7575 opened this issue Mar 3, 2022 · 2 comments
Closed

复制块到表格触发状态异常 #4141

ziyue7575 opened this issue Mar 3, 2022 · 2 comments
Assignees
Labels
Milestone

Comments

@ziyue7575
Copy link

描述问题 Describe the problem

将只要一行的代码复制到表格的时候会内核崩溃。
71L@7HM_NY7YVY)QPV}N~AS
测试发现将代码的块复制到表格就会崩溃
image

版本环境 Version environment

v1.8.6

@88250 88250 added the Bug label Mar 3, 2022
@88250 88250 added this to the 1.8.7 milestone Mar 3, 2022
@88250 88250 changed the title 代码复制到表格内核崩溃 代码块复制到表格内核崩溃 Mar 3, 2022
@88250 88250 changed the title 代码块复制到表格内核崩溃 代码块复制到表格触发状态异常 Mar 3, 2022
@88250 88250 self-assigned this Mar 3, 2022
@88250 88250 changed the title 代码块复制到表格触发状态异常 复制块到表格触发状态异常 Mar 3, 2022
@88250
Copy link
Member

88250 commented Mar 3, 2022

发现其他块复制到表格也有类似问题,在这个 issue 中一并修复。

88250 added a commit to 88250/lute that referenced this issue Mar 3, 2022

Unverified

This user has not yet uploaded their public signing key.
@88250
Copy link
Member

88250 commented Mar 3, 2022

表格无法包含块级元素,只能粘贴行级元素。

#2436 中的情况会自动提取行级元素。但是代码块中没有行级元素,所以提取结果是空字符串。

@88250 88250 closed this as completed Mar 3, 2022
88250 added a commit to 88250/lute that referenced this issue Mar 7, 2022

Unverified

This user has not yet uploaded their public signing key.
中西文插入空格后代码块出现块 ID siyuan-note/siyuan#4184
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants