summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js
diff options
context:
space:
mode:
authorDeep Patel <dep@odoo.com>2017-08-25 18:55:37 +0530
committerqsm-odoo <qsm@odoo.com>2017-10-10 16:19:29 +0200
commitbfba2c0e758d3ef4bdda1f704bbb044569fa4683 (patch)
tree0b1cf268816df1c160243270f7f95fd4dc7f291f /addons/web_editor/static/src/js
parent7f6d32d5e0005fd694d1c59538f685f0867f6dfa (diff)
[FIX] web_editor, portal: some edition fixes
- Hide navbar divider in mobile view - Change font to default when applying header style - Remove form tag from media dialog search input to avoid redirection
Diffstat (limited to 'addons/web_editor/static/src/js')
-rw-r--r--addons/web_editor/static/src/js/editor/summernote.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/js/editor/summernote.js b/addons/web_editor/static/src/js/editor/summernote.js
index fa919a5a908..ef102bf081d 100644
--- a/addons/web_editor/static/src/js/editor/summernote.js
+++ b/addons/web_editor/static/src/js/editor/summernote.js
@@ -1761,6 +1761,7 @@ $.summernote.pluginEvents.outdent = function (event, editor, layoutInfo) {
};
$.summernote.pluginEvents.formatBlock = function (event, editor, layoutInfo, sTagName) {
+ $.summernote.pluginEvents.applyFont(event, editor, layoutInfo, null, null, "Default");
var $editable = layoutInfo.editable();
$editable.data('NoteHistory').recordUndo($editable);
event.preventDefault();