/*\r
-Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
\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