[Bug] 编辑光标未正确显示
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 61.6k
- Forks
- 4.6k
- Avg merge
- 23h 49m
- Merged PRs (30d)
- 89
Description
Description
当前版本鼠标只有移动到标题上时才会变成编辑光标(竖杠),而其他地方(比如正文、代码块)仍然是普通的鼠标光标
Steps to Reproduce
将鼠标分别移动到标题上和正文/代码块上方
Expected Behavior
鼠标移动到可编辑区域时显示为编辑光标(竖杠)
Actual Behavior
当前版本鼠标只有移动到标题上时才会变成编辑光标(竖杠),而其他地方(比如正文、代码块)仍然是普通的鼠标光标
Screenshots / Logs
No response
Operating System
macOS
MarkText Version
0.20.0-rc5
OS Version
Windows11 LTSC 2024
Reproducibility
- I can reliably reproduce this issue
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the cursor behavior by moving over the title, body, and code block in the editor, noting that the issue reports different results on macOS and Windows 11. Trace the editor UI styling or event entry point responsible for editable-area cursors; done means every editable region shows the edit cursor while non-editable areas retain their normal cursor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, markdown, typescript
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100