X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fcore%2Fui.js;h=b569d8a245b8b8815fb459ce421d11d845d60283;hb=4e70ea24db840898be8cc21c950363a52a2a6aba;hp=27f226fe36cbb421cb167f176142e6b192defbb3;hpb=48b1db88210b4160dce439c6e3e32e14af8c106b;p=ckeditor.git diff --git a/_source/core/ui.js b/_source/core/ui.js index 27f226f..b569d8a 100644 --- a/_source/core/ui.js +++ b/_source/core/ui.js @@ -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 );