codeslayer1 / react-ckeditor

CKEditor component for React with plugin and custom event listeners support
MIT License
130 stars 34 forks source link

Cannot read property 'call' of undefined in ckeditor.js | React 16 #55

Closed saurabh147sharma closed 5 years ago

saurabh147sharma commented 5 years ago

ckeditor.js:10 Uncaught TypeError: Cannot read property 'call' of undefined at a.p (ckeditor.js:10) at a. (ckeditor.js:12) at a.CKEDITOR.editor.CKEDITOR.editor.fire (ckeditor.js:13) at CKEDITOR.plugins.undo.UndoManager.save (ckeditor.js:1020) at a. (ckeditor.js:1016) at a.p (ckeditor.js:10) at a. (ckeditor.js:12) at a.CKEDITOR.editor.CKEDITOR.editor.fire (ckeditor.js:13) at ckeditor.js:576

codeslayer1 commented 5 years ago

Which version of react-ckeditor are you using? I am unable to recreate the issue on React16.

saurabh147sharma commented 5 years ago

Which version of react-ckeditor are you using? I am unable to recreate the issue on React16.

I just fixed it. Actually this wasn't react-ckeditor issue. I forgot to write events function like onchange, onblur etc.. After putting these functions this issue was resolved.

Thank you for quick reply.