cherry-markdown
cherry-markdown copied to clipboard
[Bug Report]urlProcessor导致第一次全选删除不生效
Prerequisites
-
[ ] There isn't an existing issue that reports the same bug to avoid duplicates.
-
[ ] The provided information offers a minimal reproducible example of the bug, (Why create a Minimal).
-
[ ] For Q&A, please open a GitHub Discussion instead.
Version
0.8.58
Reproduction Link
No response
Describe the Bug
urlProcessor:(url, type, callback) => {
callback(url)
// 添加了callback方法,导致第一次渲染后,全选删除preview不重新渲染,后面都能正常渲染
}
System Information
Contributing
None
补充一个条件,有图片的情况才会出现这种情况,没有图片功能正常
## 标题1
1.http://pic-adsfadf
这种方式会出现urlProcessor不触发,马上接换行就会正常触发