opentiny / opentiny/tiny-editor

🐛 [Bug]: 公式显示错误

Open
#133 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Version

latest

Link to minimal reproduction

https://opentiny.github.io/fluent-editor/docs/formula 官网就能复现

Step to reproduce

点击插入公式,输入\begin{array}{r} 1 \ + 123 \ \hline 124 \end{array}

mathlive为false时,公式显示正常
image

mathlive为true时,公式显示不正常
image

What is expected

能正常显示公式

What is actually happening

不能正常显示公式

What is your project name

formula

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

Start with the formula demo at https://opentiny.github.io/fluent-editor/docs/formula and reproduce the array expression with mathlive enabled and disabled. Trace the formula rendering entry point used by that demo; done means the expression displays correctly when mathlive is true as well as false.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.