Tencent / Tencent/cherry-markdown

[Bug Report]vue3二次编辑会光标无法点动报一个length的错误

Open
#1,007 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐞bug pending-no-confirmed
Dominant language
JavaScript
Stars
4.9k
Forks
572
Avg merge
17h 5m
Merged PRs (30d)
14

Description

Prerequisites
Version

0.8.52

Reproduction Link

No response

Describe the Bug

vue3二次编辑点击md中间内容会光标无法点动报一个length的错误,疑似中间内容内容解析错误;初次写的内容任何位置都行

System Information
0.8.52版本
Contributing

None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Vue 3 example in the repository's examples directory and reproduce the second-edit case described for version 0.8.52. Since no reproduction link, source file, or test is provided, identify where the length error occurs and verify that clicking in the middle of previously edited Markdown allows the cursor to move without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.