opentiny / opentiny/tiny-editor
✨ [Feature]: 多个有序列表序号连续
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
该功能将允许在一个有序列表中间插入独立行的图片、表格等行级元素的内容
以下图片是编辑器中在线例子编辑的效果,表格前后形成了两个独立的有序列表,后面的列表不可以接着上面的序号:
这是WPS中的有序列表,允许在有序列表中插入一行独立的行来显示图片:
What does the proposed API look like
实际实现可以仿照wps中点击有序列表的序号时有一个弹窗,允许“继续编号”和“重新编号”,方式可以类似编辑器中插入链接方式处理,
如这样的一个弹窗供选择
What is your project name
在线文章内容编辑,类似wps一样的编辑器
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 source file or test is named. Start by locating the ordered-list handling and Quill 2.0 integration in the TypeScript editor, then review how independent block elements split lists. Done means separated ordered lists can continue or restart numbering through a WPS-like choice, with coverage for the demonstrated image and table cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100