diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-10-17 15:14:47 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-10-17 15:14:47 +0200 |
| commit | 868e718e09e03dcc09b992f02ffee6feee7a026c (patch) | |
| tree | 692bd428409d83bd881fe4f757c67c40fbbccea3 /addons/web_editor/static/src/js/rte.summernote.js | |
| parent | 3993528bacf2231010ab65fef70dd17f93b26466 (diff) | |
| parent | 8d0942380b5743145bee624411a15d71d225b246 (diff) | |
[MERGE] forward port branch saas-15 up to 8d0942380b5
Diffstat (limited to 'addons/web_editor/static/src/js/rte.summernote.js')
| -rw-r--r-- | addons/web_editor/static/src/js/rte.summernote.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/rte.summernote.js b/addons/web_editor/static/src/js/rte.summernote.js index 4ab1e7bed06..a3bf079aa30 100644 --- a/addons/web_editor/static/src/js/rte.summernote.js +++ b/addons/web_editor/static/src/js/rte.summernote.js @@ -454,7 +454,7 @@ $.summernote.pluginEvents.visible = function (event, editor, layoutInfo) { if (($node.is('[data-oe-type="html"]') || $node.is('[data-oe-field="arch"]')) && $node.hasClass("o_editable") && !$node[0].children.length && - "h1 h2 h3 h4 h5 h6 p b bold i u code sup strong small pre th td".toUpperCase().indexOf($node[0].nodeName) === -1) { + "h1 h2 h3 h4 h5 h6 p b bold i u code sup strong small pre th td label".toUpperCase().indexOf($node[0].nodeName) === -1) { var p = $('<p><br/></p>')[0]; $node.append( p ); range.createFromNode(p.firstChild).select(); |
