Open msamsel opened 5 years ago
Bug
There are some workarounds in code, which prevent of throwing this error. Maybe there will be time to investigate what exactly happens here:
https://github.com/ckeditor/ckeditor4/blob/acf57ad52650fafc07df2e98886517e82fd585da/core/dom/domobject.js#L141-L147
https://github.com/ckeditor/ckeditor4/blob/acf57ad52650fafc07df2e98886517e82fd585da/core/editable.js#L544-L547
From a brief analysis, it looks like issue tends to appear when we accessing a property/value/etc. of native HTML element which is detached.
no error or some better error handling/prevention
simple try…catch which prevents error occurrence.
Issue extracted during #3128
Some references:
The wysiwygarea uses iframe which probably causes a lot of reloads.
wysiwygarea
iframe
Type of report
Bug
Provide detailed reproduction steps (if any)
There are some workarounds in code, which prevent of throwing this error. Maybe there will be time to investigate what exactly happens here:
https://github.com/ckeditor/ckeditor4/blob/acf57ad52650fafc07df2e98886517e82fd585da/core/dom/domobject.js#L141-L147
https://github.com/ckeditor/ckeditor4/blob/acf57ad52650fafc07df2e98886517e82fd585da/core/editable.js#L544-L547
From a brief analysis, it looks like issue tends to appear when we accessing a property/value/etc. of native HTML element which is detached.
Expected result
no error or some better error handling/prevention
Actual result
simple try…catch which prevents error occurrence.
Other details
Issue extracted during #3128