﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
13347	javascript error in widget plugin	bjrke		"I have a widget plugin, which produces an error in widget plugin code, when it is used nested and the outer widget is removed in a special way by the user:

Uncaught TypeError: Cannot read property 'attributes' of null

In the debug version it is line 2509 of plugins/widget/plugin.js

given the following markup in the editor:
{{{
<div class=""jc-contentbox align-center"" style=""width: 500px;"">
  <p>outer</p>
  <div class=""jc-contentbox align-center"" style=""width: 500px;"">
    <p>inner</p>
  </div>
</div>
}}}

(tested in google chrome)
Now do a double click to select the outer div, but not the inner. The div and the text must be selected (not easy). Then remove the div with the delete key from your keyboard.
Then when trying to get the html markup again, the errors occur (for example when you want to view the source).

I have also done a pull request which fixes the problem:
https://github.com/ckeditor/ckeditor-dev/pull/190"	Bug	closed	Normal		General		expired		
