ck-dragresize
ck-dragresize copied to clipboard
Clean up when editor is destroyed
Hi,
Please add the following code (selected in the image below) to make the plugin clean up properly if an editor is destroyed. Otherwise it might leave the resize handler visible on the screen.
editor.on('beforeDestroy', function() {
// Remove the handles before editor is destroyed
resizer.hide();
});