/*\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
var attrName = this.att,\r
value = this.getValue();\r
\r
- // Broadcast Lang Dir change\r
- if ( attrName == 'dir' )\r
- {\r
- var dir = element.getAttribute( attrName, value );\r
- if ( dir != value && element.getParent() )\r
- this._.dialog._.editor.fire( 'dirChanged', element );\r
- }\r
-\r
if ( value )\r
element.setAttribute( attrName, value );\r
else\r
label : lang.styles,\r
'default' : '',\r
\r
+ onChange : function(){},\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