opentiny / opentiny/tiny-editor
✨ [Feature]: 优化divider,提高用户体验
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 535
- Forks
- 71
- Avg merge
- 6h 50m
- Merged PRs (30d)
- 2
Description
What problem does this feature solve
- 点击分隔线,出现选中效果,此时可以 Delete 删除分隔线、Ctrl+C 复制分隔线、Ctrl+X 剪切分隔线
- 分隔线左右两边要能使用光标,点击分隔线右边缘,光标出现在分隔线右边,此时输入内容,内容会插入下一行;左边光标同理
- 在两行文本中间插入分隔线,目前是会多一个换行,可以优化下只插入分隔线、不插入换行
What does the proposed API look like
unknown
What is your project name
unknown
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
No files or tests are named. Start by locating the divider implementation in TinyEditor and reviewing how its Quill 2.0 integration handles selection, cursor placement, deletion, copying, and insertion between text lines. Done means divider selection supports the requested editing actions, both edges accept the cursor, and insertion does not add an extra newline.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100