/*\r
-Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
minHeight : 60,\r
onOk : function()\r
{\r
- var name = this.getValueOf( 'info', 'txtName' );\r
+ var name = CKEDITOR.tools.trim( this.getValueOf( 'info', 'txtName' ) );\r
var attributes =\r
{\r
+ id : name,\r
name : name,\r
'data-cke-saved-name' : name\r
};\r