jgraph / jgraph/drawio

Remove pre rendering latex textbox formula width and height from the page expansion content

Open
#5,251 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement needs-info
Dominant language
JavaScript
Stars
8.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Is not really a huge problem but requires manual scaling of the raw latex code textbox to not trepassing the page border

Describe the solution you'd like
The solution is to scale the pre rendering latex code inside de limit area. But this do not take account the post rendering space needed.

Before rescaling the object (notice the useless blank page)

Image Image

After rescaling

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

No source file or test is identified in the issue. Start by reproducing the LaTeX textbox sizing and page-expansion behavior shown in the screenshots, then trace the relevant rendering and page-layout path. Done means rendered LaTeX content fits within the page area without creating a useless blank page or requiring manual scaling.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.