﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12998	'blur' event lost when destroying	steph123		"** Tested with inline edition only **

When CkEditor has the focus, clicking outside the editor triggers a blur event. In order to handle this blur event, you can set a 'blur' handler directly on the div, or you can use the internal CkEditor event management (by setting a handler in CkEditor options). The later solution is way better, as it filters out blur events occurring when using the CkEditor toolbar.

However, when the event that ultimately triggers the blur event (for example a mouse click outside the edition area) also causes the editor destruction (for example because user clicked a button to terminate edition), the internal CkEditor blur event never occurs. This is not the expected behavior: in standard JavaScript, you always get the blur event, even if the div is then immediately destroyed.

How to reproduce:
1. Launch this fiddle: [http://jsfiddle.net/7dhrjodx/4/].
2. Click inside the editable area => the CkEditor toolbar appears.
3. Click outside the editable area => the CkEditor toolbar disappears and the console displays ""Global Blur"" and ""CkEditor Blur"", meaning that the blur event has been caught both on the div and internally in CkEditor API.
4. Click inside the editable area again => the CkEditor toolbar appears.
5. Click on the ""Finalize"" button => the CkEditor toolbar disappears but the console only displays ""Global Blur"", meaning the internal CkEditor blur event has been lost."	Bug	confirmed	Normal		General	4.0 Beta			
