diff --git a/addons/web_editor/static/src/js/editor/rte.summernote.js b/addons/web_editor/static/src/js/editor/rte.summernote.js index a1ea02d948c..0e28eb0d237 100644 --- a/addons/web_editor/static/src/js/editor/rte.summernote.js +++ b/addons/web_editor/static/src/js/editor/rte.summernote.js @@ -45,7 +45,7 @@ function _rgbToHex(rgb) { if (!hex) { return rgb; // TODO handle error } - return hex.hex; + return hex.hex.toUpperCase(); }; // Update and change the popovers content, and add history button @@ -471,8 +471,8 @@ $.summernote.pluginEvents.customColor = function (event, editor, layoutInfo, cus onSave: function (color) { var $palettes = $(event.currentTarget).find('.note-custom-color-palette > .note-color-row') .append(('