Uncaught TypeError from bindDestruct
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 406
- Forks
- 131
- Avg merge
- 2h 32m
- Merged PRs (30d)
- 2
Description
When opening symbol popup, the popup opens and then (after 1 or 2 seconds) I get an error : TypeError: can't access property "on", e.e is undefined
Here is the full stack trace :
17:44:24.785 Uncaught TypeError: can't access property "on", e.e is undefined
bindDestruct jodit.min.js:2527
popup jodit.min.js:17816
onTriggerClick jodit.min.js:3197
onClick jodit.min.js:3261
onActionFire jodit.min.js:6342
onActionFire jodit.min.js:6341
f jodit.min.js:4988
on jodit.min.js:5000
eachEvent jodit.min.js:4923
eachEvent jodit.min.js:4921
on jodit.min.js:4989
createContainer jodit.min.js:6332
createContainer jodit.min.js:3150
t jodit.min.js:1398
o jodit.min.js:6284
t jodit.min.js:3114
makeButton jodit.min.js:1373
makeButton jodit.min.js:2069
build jodit.min.js:6542
build jodit.min.js:6529
buildToolbar jodit.min.js:1715
setCurrentPlace jodit.min.js:4584
addPlace jodit.min.js:4573
Jodit jodit.min.js:4264
callPromise jodit.min.js:4743
Jodit jodit.min.js:4260
callPromise jodit.min.js:4743
Jodit jodit.min.js:4257
make jodit.min.js:4300
React 7
unstable_runWithPriority scheduler.development.js:656
React 4
unstable_runWithPriority scheduler.development.js:656
React 6
continuousStart index.tsx:78
setLoadingInterceptor request.ts:92
promise callback*request Axios.js:64
method Axios.js:79
wrap bind.js:11
get request.ts:69
getUserById authentication.ts:105
componentDidMount index.tsx:132
React 6
unstable_runWithPriority scheduler.development.js:656
React 5
unstable_runWithPriority scheduler.development.js:656
React 6
node_modules 1.chunk.js:13828
configureUIView view.js:223
jodit.min.js:2527
Here are my options :
{
buttons: [
'bold',
'strikethrough',
'underline',
'italic',
'eraser',
'|',
'superscript',
'subscript',
'|',
'ul',
'ol',
'|',
'outdent',
'indent',
'|',
'font',
'fontsize',
'brush',
'paragraph',
'|',
'table',
'link',
'symbol',
'|',
'align',
'undo',
'redo',
'fullsize',
'preview',
],
sizeLG: 0,
language: 'fr',
iframe: true,
// @ts-ignore
showXPathInStatusbar: false,
showWordsCounter: false,
showCharsCounter: false,
}
I Don't know if the problem is from jodit or jodit-react so I will post in both and close the useless one.
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 delayed error when opening the symbol popup with the listed options, then inspect the bindDestruct and popup entries in jodit.min.js and the React stack entries in index.tsx. Done means the symbol popup opens without the reported TypeError, with the fix's ownership between jodit-react and Jodit established.
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
- 30/100