chenglou / chenglou/pretext

Support rich inline with `pre-wrap` whitespace preserve

Open
#173 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
50.3k
Forks
2.7k
Avg merge
2h 40m
Merged PRs (30d)
69

Description

Rich inline allows mixed formatted content, but it explicitly says that pre-wrap is not supported.

Is there a reason we can't support whitespace preservation? I'm working on a Canva style editor and I have a need for rich inline with whitespace.

Contributor guide

No contributing guide indexed for this repository

Research direction

Search the repository for the rich inline implementation and the documented pre-wrap limitation; inspect how whitespace is currently handled and measured. Reproduce the mixed-formatted-content case described in the issue, add coverage for preserved whitespace, and verify existing rich inline layout behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.