Skip to content

[Bug] 编辑代码块时 光标位置跟实际位置不符 #23

@chenbihao

Description

@chenbihao

Bug Description | 问题描述

编辑代码块时 光标位置跟实际位置不符

Steps to Reproduce | 复现步骤

在ubuntu中,编辑代码块时,光标与实际渲染文本位置不一致,win还没测

Screenshots | 截图

例如以下测试文本,代码末尾是没有空格的,但光标可以框选到空的内容,并且输入时发现其实是渲染位置跟实际位置不匹配。

Image Image

Environment | 环境信息

  • OS: ubuntu 24
  • Obsidian Version: 1.8.10
  • Plugin Version: 1.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions