mdx-editor / mdx-editor/editor
No maximum indent level for lists
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 307
- Avg merge
- 14h 22m
- Merged PRs (30d)
- 5
Description
I've found an issue for the listPlugin indention, looks like this function(https://github.com/mdx-editor/editor/blob/main/src/plugins/lists/index.ts#L109) is not being invoked and we can have more than 7 tabs/indentions applied.
This also applies to the check list item as well.
Originally posted by @forhappy in https://github.com/mdx-editor/editor/issues/159#issuecomment-1793650967
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
Read src/plugins/lists/index.ts at the referenced line and trace why the indentation limit is not being invoked for list items. Reproduce indentation beyond seven levels for regular and checklist items, then verify that both types stop at the intended maximum.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100