TypeError: Cannot read property 'make' of undefined
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 406
- Forks
- 131
- Avg merge
- 2h 32m
- Merged PRs (30d)
- 2
Description
This error occurred in a project that uses TypeScript with React.
I realize this issue has already been created. However, I still get this error even though i've upgraded to the most recent versions of both Jodit and Jodit-react...
"jodit": "^3.4.29",
"jodit-react": "^1.0.49",
import JoditEditor from 'jodit-react';
const component: React.fc = () => {
const [content, setContent] = React.useState('');
const editor = React.useRef(null);
const config: any = {
readonly: false, // all options from https://xdsoft.net/jodit/doc/
};
return (
<>
<JoditEditor
ref={editor}
value={content}
config={config}
onBlur={newContent => setContent(newContent)}
onChange={newContent => {}}
/>
--------------
The above is the boilerplate from the ReadMe.
Please help!
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 by reproducing the reported TypeError with the TypeScript and React example from the issue, using the stated jodit and jodit-react versions. Read the JoditEditor usage described in the README and trace the failing initialization; done means the example renders without the undefined make error.
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