﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12664	Code Snippet: Codesnippet instance will insert the code block at the beginning of the editor	Anna Tomanek		"Reported as a comment on the addon's site: http://ckeditor.com/comment/135211#comment-135211

I have a particular bug I'm trying to address, I've just upgraded CKEditor to 4.4.5 mainly to address the Safari 7.1 bug. However, prior to the 4.4.5 release, and now with the latest version, my codesnippet instance will insert the code block at the beginning of the editor occasionally. I get a console error from the main Widget plugin's plugin.js file after clicking ""Ok"" from the dialog.
{{{
Uncaught TypeError: Cannot set property 'ready' of null
}}}
and the offender:
{{{
finalizeCreation: function( container ) {
	var wrapper = container.getFirst();
	if ( wrapper && isDomWidgetWrapper( wrapper ) ) {
		this.editor.insertElement( wrapper );

		var widget = this.getByElement( wrapper );
		// Fire postponed #ready event.
		widget.ready = true; // I'm raising the error above
		widget.fire( 'ready' );
		widget.focus();
	}
},
}}}
The line:
{{{
var widget = this.getByElement( wrapper );
}}}
Seems like it's not finding the widget by the element.

I'm trying to find a detailed changlog for this plugin specifically, to determine my upgrade procedure, what were the specific changes to this plugin for 4.4.5? Any thoughts on what may be causing this bug?"	Bug	closed	Normal		General		expired		
