Skip to content

标题下有代码块时剪切标题后撤掉导致状态异常 #5110

Closed
@whuwangyong

Description

@whuwangyong

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

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

描述问题 Describe the problem

在如下的文档中:
捕获

  1. 剪切“标题”时,光标进入了代码块第一行,符合预期
  2. 此时按backspace,第一行代码跑出了代码块,接在了上面的文本后面,这不符合预期。正常情况下,在第一行代码的行首按backspace,光标会出去,但是代码不会出去
  3. 在上一步不符合预期的情况下,按Ctrl Z,触发状态异常

期待的结果 Expected result

稳定运行

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

状态异常0606

版本环境 Version environment

- Version: 2.0.13
- Operating System: Windows 7
- Browser (if used):

日志文件 Log file

siyuan.log

更多信息 More information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @Vanessa219@whuwangyong

      Issue actions

        标题下有代码块时剪切标题后撤掉导致状态异常 · Issue #5110 · siyuan-note/siyuan