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

在表格块中空单元格时使用 Ctrl+/ 选中表格块后无法使用 Backspace 删除该块 #6126

Closed
1 task done
Zuoqiu-Yingyi opened this issue Oct 9, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@Zuoqiu-Yingyi
Copy link
Contributor

Zuoqiu-Yingyi commented Oct 9, 2022

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

描述问题 Describe the problem

复现步骤:

  • 新建一个表格块
  • 将光标移出表格块
  • 将光标从表格块外定位到表格内一个空单元格
  • 使用快捷键 Ctrl + / 选择该表格块
  • 使用 Backspace (无法删除该表格块, 且控制台输出错误信息)

期待的结果 Expected result

使用快捷键 Ctrl + / 选择表格块后使用 Backspace 按键可以正常删除

截屏或者录屏演示 Screenshot or screen recording presentation

No response

版本环境 Version environment

- Version: 2.3.2
- Operating System: 
- Browser (if used):

日志文件 Log file

前端日志:

main.4e1cf8ae5dcd37ef68ee.js:1 Uncaught TypeError: Cannot read properties of null (reading 'indexOf')
    at HTMLDivElement.<anonymous> (main.4e1cf8ae5dcd37ef68ee.js:1:974579)
(anonymous) @ main.4e1cf8ae5dcd37ef68ee.js:1

更多信息 More information

光标位于表格非空单元格时可以正常删除表格块

@88250 88250 changed the title 当光标位于表格块中的某一个空单元格时, 使用快捷键 Ctrl+/ 选中表格块后无法使用 Backspace 删除该块 当光标位于表格块中的某一个空单元格时使用快捷键 Ctrl+/ 选中表格块后无法使用 Backspace 删除该块 Oct 10, 2022
@88250 88250 added the Bug label Oct 10, 2022
@88250 88250 added this to the 2.3.3 milestone Oct 10, 2022
@88250 88250 changed the title 当光标位于表格块中的某一个空单元格时使用快捷键 Ctrl+/ 选中表格块后无法使用 Backspace 删除该块 在表格块中空单元格时使用 Ctrl+/ 选中表格块后无法使用 Backspace 删除该块 Oct 10, 2022
Vanessa219 added a commit that referenced this issue Oct 10, 2022
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