diff options
| author | Christophe Matthieu <chm@odoo.com> | 2015-01-15 13:31:39 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2015-01-16 16:38:09 +0100 |
| commit | cb7d762db218566c62d315affb40a49b7160945e (patch) | |
| tree | 96b7b8536c2a7292bd08f6f7717ed49de20de1dc /addons/website/static/src/js | |
| parent | e134fc885bd9346072531f83d6690d56396cd309 (diff) | |
[FIX] website editor: the dom is splited in two when press enter just after a picture
Diffstat (limited to 'addons/website/static/src/js')
| -rw-r--r-- | addons/website/static/src/js/summernote.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/js/summernote.js b/addons/website/static/src/js/summernote.js index 9b929dfb2dc..04d6c1810ec 100644 --- a/addons/website/static/src/js/summernote.js +++ b/addons/website/static/src/js/summernote.js @@ -1028,7 +1028,7 @@ define(['summernote/editing/Editor', 'summernote/summernote'], function (Editor) } if (last === node && !dom.isBR(node)) { - node = r.insertNode(br); + node = r.insertNode(br, true); do { node = dom.hasContentAfter(node); } while (node && dom.isBR(node)); |
