diff options
Diffstat (limited to 'addons/web_editor/static')
| -rw-r--r-- | addons/web_editor/static/src/js/editor/summernote.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/web_editor/static/src/js/editor/summernote.js b/addons/web_editor/static/src/js/editor/summernote.js index 0d1860d236e..6939c90cefa 100644 --- a/addons/web_editor/static/src/js/editor/summernote.js +++ b/addons/web_editor/static/src/js/editor/summernote.js @@ -2167,7 +2167,6 @@ $.summernote.pluginEvents.applyFont = function (event, editor, layoutInfo, color } // remove node without attributes (move content), and merge the same nodes - if (!dom.isImgFont(node)) { var className2, style, style2; for (i=0; i<nodes.length; i++) { node = nodes[i]; @@ -2208,7 +2207,6 @@ $.summernote.pluginEvents.applyFont = function (event, editor, layoutInfo, color } } } - } range.create(startPoint.node, startPoint.offset, endPoint.node, endPoint.offset).select(); }; |
