There's no way to detect that in all cases and in precise moment, because editor does not handle things like backspace key itself. Therefore, it checks all widgets instances from time to time and destroyes those of them who are not present in the DOM any more. And when widget is being destroyed it fires a destroy event.
There's no way to detect that
There's no way to detect that in all cases and in precise moment, because editor does not handle things like backspace key itself. Therefore, it checks all widgets instances from time to time and destroyes those of them who are not present in the DOM any more. And when widget is being destroyed it fires a destroy event.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+