cycleccc / wangEditor-next

wangEditor-next —— 基于 slate.js 的 Web 富文本编辑器。wangEditor-next —— web rich text editor, based on slate.js.
https://cycleccc.github.io/docs/
MIT License
78 stars 14 forks source link

Bug:表格中多行文本,中间某一行文本加粗,会导致多了一行的效果,实际上预览正常,编辑器显示异常 #152

Open caifu23 opened 2 weeks ago

caifu23 commented 2 weeks ago

Bug Description

编辑器中插入表格之后,在某一个单元格输入几行文字,然后在中间一行加粗文本,就会导致加粗的上一行换行了。实际上获取到的预览代码正常,但是在编辑器中,会让人误解成换行了 Snipaste_2024-08-30_15-02-55 image

What did you expect to happen?

希望编辑器不会显示多出来的一行空白

System, Browser, and Version

wangEditor-next Version

Please enter the details...

Can the demo reproduce the bug?

Yes

Online Demo

Steps to Reproduce at Minimum Cost