jodit / jodit/jodit-react

remove font from list

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
406
Forks
131
Avg merge
2h 32m
Merged PRs (30d)
2

Description

Hi,
when i do this : controls:{font:{list:Jodit.atom({ "Arial,Helvetica,sans-serif": "Arial", "Georgia,serif": "Georgia", "Impact,Charcoal,sans-serif": "Impact", "Tahoma,Geneva,sans-serif": "Tahoma", "'Times New Roman',Times,serif": "Times New Roman", "Courier New,sans-serif": "Courier New" })}} the font are merge to the current list.
But what i want is to create a new list and replace the older.
I have try solution from classic jodit but not working.
https://github.com/xdan/jodit/issues/586
https://github.com/xdan/jodit/issues/230
Do you have any idea ?

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

Start by reproducing the controls.font.list configuration in jodit-react and inspect how the font control combines the supplied list with its defaults. Compare the behavior and proposed solutions in Jodit issues 586 and 230. Done means a custom font list replaces the existing list rather than being merged into it.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.