Skip to content

[Editor]: 输入光标定位不太准的后续 #331

Description

@black-A

Pre-flight checks

  • I have searched existing issues for the same problem.
  • I have reduced the Markdown sample to the smallest version that reproduces the issue.

Markra version

0.12.4

Editor area

WYSIWYG editing

Minimal Markdown sample

任意md

What happened?

这个是issue#326的后续,这个当时是输入光标定位不太准,我测试了一下,确实是修复了,现在不会出现光标定位在下一行的情况

但是我觉得还是有点问题,就是如果这个定位时不是正好点到这个空行,它是没反应的,意思就是这个issue#326把这个错位光标定位修复成了位置不对就不响应

我真的不是吹毛求疵,总感觉还是不太跟手,没有那种指哪打哪的感觉,我的看法是会不会是分割线占据的行高太多了,不知道能不能再做一些改进呢,我用typora进行对比一下看看(为了看出区别,我是故意这样点击的,实战中错误率没那么高,但就是不太得劲):

屏幕录制 2026-06-18 172739.zip

What did you expect?

希望能更好用一些吧

Screenshots or export output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingeditorMarkdown editor core issuesuiUI/UX related issues

    Type

    No type

    Fields

    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