在vue3中,使用Markdown的写法,写的文档,有引入图片的情况下,点击切换光标位置的时候,报错
Uncaught TypeError: Cannot read properties of undefined (reading 'length')
at If (cherry-markdown-7f1d788b.js:6:9586)
at Dd (cherry-markdown-7f1d788b.js:6:10306)
at b6 (cherry-markdown-7f1d788b.js:6:16147)
at xm (cherry-markdown-7f1d788b.js:6:15636)
at Yb (cherry-markdown-7f1d788b.js:6:19337)
at gh.F9 (cherry-markdown-7f1d788b.js:13:3290)
at HTMLDivElement. (cherry-markdown-7f1d788b.js:11:10329)
Prerequisites
Describe the Bug
在vue3中,使用Markdown的写法,写的文档,有引入图片的情况下,点击切换光标位置的时候,报错 Uncaught TypeError: Cannot read properties of undefined (reading 'length') at If (cherry-markdown-7f1d788b.js:6:9586) at Dd (cherry-markdown-7f1d788b.js:6:10306) at b6 (cherry-markdown-7f1d788b.js:6:16147) at xm (cherry-markdown-7f1d788b.js:6:15636) at Yb (cherry-markdown-7f1d788b.js:6:19337) at gh.F9 (cherry-markdown-7f1d788b.js:13:3290) at HTMLDivElement. (cherry-markdown-7f1d788b.js:11:10329)
Reproduction Steps
No response
System Information
Contributing
None