ck-dragresize icon indicating copy to clipboard operation
ck-dragresize copied to clipboard

Clean up when editor is destroyed

Open FlowIT-JIT opened this issue 3 years ago • 0 comments

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();
	  });

image

FlowIT-JIT avatar Aug 20 '21 09:08 FlowIT-JIT