Ticket #6908: 6908.patch
| File 6908.patch, 759 bytes (added by , 16 years ago) |
|---|
-
_source/plugins/colorbutton/plugin.js
137 137 : 138 138 function( element ) 139 139 { 140 // Fore color style must be applied inside links instead of around it. 141 return element.getName() != 'a'|| isUnstylable( element );140 // Fore color style must be applied inside links instead of around it. (#4772,#6908) 141 return !( element.is( 'a' ) || element.getElementsByTag( 'a' ).count() ) || isUnstylable( element ); 142 142 }; 143 143 144 144 new CKEDITOR.style( colorStyle, { color : color } ).apply( editor.document );
