Ticket #5676: 5676.patch
File 5676.patch, 745 bytes (added by , 14 years ago) |
---|
-
_source/plugins/colorbutton/plugin.js
140 140 141 141 // The data can be only a color code (without #) or colorName + color code 142 142 // If only a color code is provided, then the colorName is the color with the hash 143 // Convert the color to 6 places for better compatibility with IE and <font>. See #5676 143 144 if (!parts[1]) 144 colorName = '#' + colorName ;145 colorName = '#' + colorName.replace( /^(.)(.)(.)$/, '$1$1$2$2$3$3' ); 145 146 146 147 var colorLabel = editor.lang.colors[ colorCode ] || colorCode; 147 148 output.push(