1943time / inkdown

A WYSIWYG Markdown editor, improve reading and editing experience. and generate your Markdown files into online documents in the easiest and fastest way.
https://www.inkdown.me
GNU Affero General Public License v3.0
939 stars 41 forks source link

[文本编辑Bug]在编辑文本的时候导致程序崩溃 #103

Open OcrSu opened 2 days ago

OcrSu commented 2 days ago

Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node. Cannot resolve a Slate node from DOM node: [object HTMLSpanElement] image

复现方法:对小一级的段落使用选中功能,然后直接用中文输入法 进行拼音输入(就是直接打字,而不是先按Backspace退格键删除 即可触发bug。

1943time commented 2 days ago

你好,我是用输入法一般不会出现这个问题,但偶尔会出现一次问题,能否详细描述一下,或者使用了什么输入法,你这边是必出现么。我用windows 11 搜狗输入法测试的。

OcrSu commented 2 days ago

你好,我是用输入法一般不会出现这个问题,但偶尔会出现一次问题,能否详细描述一下,或者使用了什么输入法,你这边是必出现么。我用windows 11 搜狗输入法测试的。

我也是用 搜狗输入法 系统版本是Win10 Server2022,签名改成了Win10专业版,实际上还是Win10 Sever2022

然后在今天早上,我重装了一次系统,现在是Win10 LTSC2021,不过bug和触发概率仍然跟以前一样。 输入法仍然是搜狗输入法

出现概率是80%+,具体没测试过。