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