X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fcore%2Fui.js;h=005dc1377d99f15750d36c34bd2295a4fb301d41;hb=3fe9cac293e090ea459a3ee10d78cbe9e1dd0e03;hp=27f226fe36cbb421cb167f176142e6b192defbb3;hpb=48b1db88210b4160dce439c6e3e32e14af8c106b;p=ckeditor.git diff --git a/_source/core/ui.js b/_source/core/ui.js index 27f226f..005dc13 100644 --- a/_source/core/ui.js +++ b/_source/core/ui.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -71,6 +71,9 @@ CKEDITOR.ui.prototype = var result = handler && handler.create.apply( this, item.args ); + // Allow overrides from skin ui definitions.. + item && ( result = CKEDITOR.tools.extend( result, this._.editor.skin[ item.type ], true ) ); + // Add reference inside command object. if ( command ) command.uiItems.push( result );