/*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
type : 'select',\r
label : lang.langDir,\r
'default' : '',\r
- style : 'width:110px',\r
+ style : 'width:100%',\r
items :\r
[\r
[ lang.notSet, '' ],\r
{\r
contents = [];\r
\r
- if ( tabConfig.id )\r
+ if ( tabConfig.styles )\r
{\r
contents.push(\r
{\r
\r
getStyle : function( name, defaultValue )\r
{\r
- var match = this.getValue().match( new RegExp( name + '\\s*:\s*([^;]*)', 'i') );\r
+ var match = this.getValue().match( new RegExp( name + '\\s*:\\s*([^;]*)', 'i') );\r
return match ? match[ 1 ] : defaultValue;\r
},\r
\r
styles += name + ': ' + value;\r
}\r
\r
- this.setValue( styles, true );\r
+ this.setValue( styles, 1 );\r
\r
},\r
\r