react-ckeditor icon indicating copy to clipboard operation
react-ckeditor copied to clipboard

Remove CKEditor instance on unmount

Open R0nd opened this issue 7 years ago • 6 comments

Seems to fix the sometimes appearing "Uncaught TypeError: Cannot call method 'unselectable' of null" errors

R0nd avatar Mar 21 '18 09:03 R0nd

Fixed an issue where new or changed event handlers wouldn't register on existing component.

R0nd avatar Mar 22 '18 08:03 R0nd

Any update on this. Seeing this issue.

hafeezpk avatar Aug 07 '18 13:08 hafeezpk

@hafeezpk the PR has never been merged, you can try installing my fork from npm if you want to, the package name is r0nd_react-ckeditor-component

R0nd avatar Aug 07 '18 14:08 R0nd

R0nd i did try the package r0nd_react-ckeditor-component. Still seeing the same issue. screen shot 2018-08-07 at 9 01 16 pm

hafeezpk avatar Aug 07 '18 15:08 hafeezpk

@hafeezpk could you post some code? Doesn't reproduce with a trivial case.

R0nd avatar Aug 07 '18 18:08 R0nd

I'm just rendering multiple instances of CKEditor. Although the point to note is, manually on the web browser we never see this issue. Using karma (chrome) which automatically launches web browser for functional testing, we see the issue.

hafeezpk avatar Aug 08 '18 06:08 hafeezpk