uiwjs / uiwjs/react-md-editor

预览模式下换行符显示问题

Open
#630 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.9k
Forks
201
Avg merge
12m
Merged PRs (30d)
1

Description

当我使用示例时,发现预览状态并不能正确识别/n换行符**

image

当我加上white-space: pre-wrap;样式时,不同元素的/n的间距异常的大,**

image

特别是有表格时有一大片空白

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.