JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6
[ckeditor.git] / _source / core / ui.js
index 27f226f..b569d8a 100644 (file)
@@ -71,6 +71,9 @@ CKEDITOR.ui.prototype =
 \r
                var result = handler && handler.create.apply( this, item.args );\r
 \r
+               // Allow overrides from skin ui definitions..\r
+               item && ( result = CKEDITOR.tools.extend( result, this._.editor.skin[ item.type ], true ) );\r
+\r
                // Add reference inside command object.\r
                if ( command )\r
                        command.uiItems.push( result );\r