预览模式下换行符显示问题
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 201
- Avg merge
- 12m
- Merged PRs (30d)
- 1
Description
当我使用示例时,发现预览状态并不能正确识别/n换行符**
当我加上white-space: pre-wrap;样式时,不同元素的/n的间距异常的大,**
特别是有表格时有一大片空白
Contributor guide
No contributing guide indexed for this repository
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 reported example in preview mode and compare newline rendering with and without white-space: pre-wrap;. Inspect the preview rendering and styling around line breaks and tables; done means newlines have consistent spacing and tables no longer create excessive blank space.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100