summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_editor/static/src')
-rw-r--r--addons/web_editor/static/src/js/editor/summernote.js1
-rw-r--r--addons/web_editor/static/src/xml/editor.xml10
2 files changed, 5 insertions, 6 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();
diff --git a/addons/web_editor/static/src/xml/editor.xml b/addons/web_editor/static/src/xml/editor.xml
index ee3f0cd70e3..104c9b63049 100644
--- a/addons/web_editor/static/src/xml/editor.xml
+++ b/addons/web_editor/static/src/xml/editor.xml
@@ -62,12 +62,10 @@
</ul>
</li>
<li class="search">
- <form action="#">
- <div class="form-group">
- <input class="form-control" id="icon-search" type="search"/>
- <span class="fa fa-search"/>
- </div>
- </form>
+ <div class="form-group">
+ <input class="form-control" id="icon-search" type="search"/>
+ <span class="fa fa-search"/>
+ </div>
</li>
</ul>
<!-- Tab panes -->