jpuri / jpuri/draftjs-to-html

converting custom inlineStyle besides color and fontSize

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
325
Forks
139
PR merge metrics
No merged PRs in 30d

Description

It does not seem to be possible to convert custom inline styles like letterSpacing or lineHeight, is there any kind of workaround for that ?

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

Begin by locating the inline-style conversion entry point in this JavaScript library and checking how color and fontSize are handled. Reproduce the issue with letterSpacing and lineHeight; done means custom styles convert to the expected HTML rather than being dropped. No file or test path is identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
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.