JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.3.2
[ckeditor.git] / _source / plugins / htmldataprocessor / plugin.js
index ad3852d..24e4830 100644 (file)
@@ -201,7 +201,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
 \r
                                title : function( element )\r
                                {\r
-                                       element.children[ 0 ].value = element.attributes[ '_cke_title' ];\r
+                                       var titleText = element.children[ 0 ];\r
+                                       titleText && ( titleText.value = element.attributes[ '_cke_title' ] || '' );\r
                                }\r
                        },\r
 \r