opentiny / opentiny/tiny-editor

🐛 [Bug]: 有序和无序列表的标号样式不可调

Open
#331 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
535
Forks
71
Avg merge
6h 50m
Merged PRs (30d)
2

Description

Version

4.0.0-alpha.2

Link to minimal reproduction

在官网的示例dome(模拟雀语文档)中可以复现,链接:https://opentiny.github.io/tiny-editor/projects/

Step to reproduce

先创建一个有序or无序列表,然后选择该部分内容并对其设置样式(如:字号设置较大值时)列表的标号依然为默认值,如图:

Image 与文字形成较大样式差异。
What is expected

预期至少可以跟随文本字号大小,或者可以跟随文本一起设置更多的样式(比如:颜色等)

Image
What is actually happening
Image 列表字号与文字形成较大样式差异。
What is your project name

文档在线编辑

Any additional comments (optional)

No response

Contributor guide

Open the contributing guide

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 issue in the linked TinyEditor website example by creating an ordered or unordered list and changing the text size or style. Trace the list-formatting behavior from that reproduction; done means the list markers follow the text size and support the expected text styling.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.