Error: Permission denied to access property "nodeName"
deirdreamuel opened this issue · 0 comments
deirdreamuel commented
Jodit Version: 3.4.xxxxx
Browser: FF
OS: Mac
Is React App: True
Permission denied to access property "nodeName"
./node_modules/jodit/build/jodit.min.js/</43887/e.isNode@http://localhost:3000/static/js/bundle.js:270106:41 ./node_modules/jodit/build/jodit.min.js/</43887/e.isElement@http://localhost:3000/static/js/bundle.js:270117:24 ./node_modules/jodit/build/jodit.min.js/</43887/e.isTag@http://localhost:3000/static/js/bundle.js:270300:99 ./node_modules/jodit/build/jodit.min.js/</63540/e.prototype.current@http://localhost:3000/static/js/bundle.js:273188:29 update@http://localhost:3000/static/js/bundle.js:281385:25 ./node_modules/jodit/build/jodit.min.js/</7708/t.prototype.update@http://localhost:3000/static/js/bundle.js:278711:149 ./node_modules/jodit/build/jodit.min.js/</90181/t.prototype.append@http://localhost:3000/static/js/bundle.js:274869:50 c@http://localhost:3000/static/js/bundle.js:274967:68 ./node_modules/jodit/build/jodit.min.js/</25680/t.prototype.build/h<@http://localhost:3000/static/js/bundle.js:274977:175 ./node_modules/jodit/build/jodit.min.js/</25680/t.prototype.build@http://localhost:3000/static/js/bundle.js:274972:26 ./node_modules/jodit/build/jodit.min.js/</39697/t.prototype.build@http://localhost:3000/static/js/bundle.js:278941:56 ./node_modules/jodit/build/jodit.min.js/</62322/t.prototype.buildToolbar@http://localhost:3000/static/js/bundle.js:275397:71 ./node_modules/jodit/build/jodit.min.js/</68939/Jodit.prototype.setCurrentPlace@http://localhost:3000/static/js/bundle.js:276001:126 ./node_modules/jodit/build/jodit.min.js/</68939/Jodit.prototype.addPlace@http://localhost:3000/static/js/bundle.js:275992:53 ./node_modules/jodit/build/jodit.min.js/</68939/Jodit/Jodit</<@http://localhost:3000/static/js/bundle.js:275628:31 ./node_modules/jodit/build/jodit.min.js/</51976/t.callPromise@http://localhost:3000/static/js/bundle.js:272550:57 ./node_modules/jodit/build/jodit.min.js/</68939/Jodit/Jodit<@http://localhost:3000/static/js/bundle.js:275624:37 ./node_modules/jodit/build/jodit.min.js/</51976/t.callPromise@http://localhost:3000/static/js/bundle.js:272550:57 Jodit@http://localhost:3000/static/js/bundle.js:275621:42 ./node_modules/jodit/build/jodit.min.js/</68939/Jodit.make@http://localhost:3000/static/js/bundle.js:275661:24 ./node_modules/jodit-react/build/jodit-react.js/</</l</<@http://localhost:3000/static/js/bundle.js:265696:38 commitHookEffectListMount@http://localhost:3000/static/js/bundle.js:329006:30 commitPassiveMountOnFiber@http://localhost:3000/static/js/bundle.js:330499:42 commitPassiveMountEffects_complete@http://localhost:3000/static/js/bundle.js:330471:38 commitPassiveMountEffects_begin@http://localhost:3000/static/js/bundle.js:330461:45 commitPassiveMountEffects@http://localhost:3000/static/js/bundle.js:330451:38 flushPassiveEffectsImpl@http://localhost:3000/static/js/bundle.js:332336:32 flushPassiveEffects@http://localhost:3000/static/js/bundle.js:332288:18 commitRootImpl@http://localhost:3000/static/js/bundle.js:332247:9 commitRoot@http://localhost:3000/static/js/bundle.js:332030:23 performSyncWorkOnRoot@http://localhost:3000/static/js/bundle.js:331539:17 flushSyncCallbacks@http://localhost:3000/static/js/bundle.js:319542:26
Expected behavior:
Text editor shouldn't be throwing this error.
Actual behavior:
Text editor is throwing errors and crashing the app. This is only happening in firefox. I am using react-query library from tanstack. This happens when there's a query invalidation and text editor picks up the changes. Seems like this error happens when queryClient.invalidate(...)
for react-query happens concurrently.