-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
该问题是否已经被报告过了? Is there an existing issue for this?
- 我已经搜索了 Issues,没有发现类似问题
I have searched the existing issuesTo pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
描述问题 Describe the problem
复现步骤
- 输入
\*\*\*
- 加粗刚刚输入的
\*\*\*
- 在不选中内容的情况下使用快捷键 Ctrl + X 剪切内容
- 粘贴内容
- 撤销
期待的结果 Expected result
\*
开头的行内元素能够正常转义 *
符号并在粘贴后能够正常撤销
截屏或者录屏演示 Screenshot or screen recording presentation
版本环境 Version environment
- Version: `2.0.22`
- Operating System:
- Browser (if used):
日志文件 Log file
E 2022/06/21 12:53:46 transaction.go:976: load tree [id=20220621125153-o6987nb] failed: block not found
更多信息 More information
使用 API 更新块时 **\*\*\***
可以正常显示为 ***
使用编辑器手动编辑时 **\*\*\***
显示为 \***
Metadata
Metadata
Assignees
Labels
Type
Projects
Relationships
Development
Select code repository
Activity
🐛 fix #5260
[-]部分以 `\*` 开头的行级元素未被转义并在粘贴后撤销时出现运行时异常[/-][+]部分以 `\*` 开头的行级元素未被转义并在粘贴后撤销时触发状态异常[/+]