Uncaught TypeError: Cannot read property 'current' of undefined
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 406
- Forks
- 131
- Avg merge
- 2h 32m
- Merged PRs (30d)
- 2
Description
Uncaught TypeError: Cannot read property 'current' of undefined
at t.calcPathImd (jodit.min.js:10)
at jodit.min.js:10
I have followed this tutorial.
https://xdsoft.net/jodit/examples/intergration/react-jodit.html
and got this error in browser console.
If I block the setState then there is no errors.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the React integration tutorial and reproduce the browser error while observing the setState call. Trace the reported calcPathImd stack in jodit.min.js and determine why current is undefined; done means the tutorial works without blocking setState and the console error no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100