jodit / jodit/jodit-react

Cannot find name 'isProd'

Open
#77 13 comments 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

Following instructions from README, I cannot get the editor to show up at all because the file jodit/src/core/helpers/string/i18n.ts at (148,7) is throwing that error. Am I doing something wrong or is this a bug?
My implementation is as simple as this:

<JoditEditor
  value={value}
  onBlur={newContent => setValue(newContent)}
/>

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 following the README instructions and reproducing the editor failure. Inspect jodit/src/core/helpers/string/i18n.ts at line 148, where the TypeScript compiler reports that isProd cannot be found; done means the reported error is resolved and the JoditEditor example can render.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.