﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12969	"SCAYT plugin stops working after setData is called with ""Div Editing Area"" plugin"	Jonathan		"The SCAYT plugin does not re-initialize itself after setData is called when using the divarea plugin.   Based on the comment in the code it looks like this was a bug for the inline editing mode but was never addressed for the divarea plugin.

From the SCAYT plugin js:

{{{
		//#9439 after SetData method fires contentDom event and SCAYT create additional instanse
		// This way we should destroy SCAYT on setData event when contenteditable Iframe was re-created
		editor.on('setData', function() {
			scaytDestroy();

			// in inline mode SetData does not fire contentDom event
			if(editor.elementMode == CKEDITOR.ELEMENT_MODE_INLINE) {
				contentDomtHandler();
			}
		}, this, null, 50);
}}}

Here scaytDestroy is called.  However, the contentDom event doesn't fire with setData with the divarea plugin and since elementMode is not ELEMENT_MODE_INLINE, contentDomtHandler doesn't get called to reinitialize the plugin. "	Bug	confirmed	Normal		General	4.0			
