Skip to content

[Editor]: 编辑器的换行逻辑问题 #95

@black-A

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.1.21

Editor area

WYSIWYG editing

Minimal Markdown sample

测试文本

<br />

![image](assets/pasted-image-1779164152789.png)

测试文本

<br />

***

<br />

测试文本

<br />

<br />

这是测试文本







这是测试文本

What happened?

1、markra中的换行是用html标签的形式?这和传统的md编辑器不太相符吧

Image

2、图片或者分割符后面的空行无法直接删除,见视频,可以简单复现,就不详细描述了

2026-05-19.122930.mp4

3、顺带提个小问题,就是版本信息未更新,提bug的时候发现的,就不单独提issue了

Image

What did you expect?

基于上述的问题,我认为两个:
1、把分割线纳入块管理,可能还有其他的也要检查
2、块操作按钮应该添加一些功能键,可参考notion,至少增加一个删除功能吧

Image

Screenshots or export output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions