From cc2cd9108c44771c6908bdc95bc23486a712e23c Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Fri, 12 Aug 2016 15:06:14 +0200 Subject: [PATCH] [IMP] web_editor: put the "Quote" style after "Header" styles --- addons/web_editor/static/src/js/summernote.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/web_editor/static/src/js/summernote.js b/addons/web_editor/static/src/js/summernote.js index 6e52936cc27..c9e1be20ce6 100644 --- a/addons/web_editor/static/src/js/summernote.js +++ b/addons/web_editor/static/src/js/summernote.js @@ -931,6 +931,8 @@ options.keyMap.mac['ESCAPE'] = 'cancel'; options.keyMap.mac['UP'] = 'up'; options.keyMap.mac['DOWN'] = 'down'; +options.styleTags = ['p', 'pre', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote']; + $.summernote.pluginEvents.insertTable = function (event, editor, layoutInfo, sDim) { var $editable = layoutInfo.editable(); var dimension = sDim.split('x');