diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2015-09-01 13:46:34 +0200 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2015-09-04 11:54:05 +0200 |
| commit | a134c88d00e71d3247538ba096a4bb5de7ec3b42 (patch) | |
| tree | 388960de4b8769e015e215875cbcb8f72943c2fe /addons/web_editor/static/src/js/summernote.js | |
| parent | 65585c75898bb025cf79881a5c4c01200ac42e92 (diff) | |
[FIX] web_editor: do paste after removing selection
Diffstat (limited to 'addons/web_editor/static/src/js/summernote.js')
| -rw-r--r-- | addons/web_editor/static/src/js/summernote.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/web_editor/static/src/js/summernote.js b/addons/web_editor/static/src/js/summernote.js index d300f8b28ca..6cb3134e72a 100644 --- a/addons/web_editor/static/src/js/summernote.js +++ b/addons/web_editor/static/src/js/summernote.js @@ -2238,8 +2238,6 @@ function summernote_paste (event) { if (!r.isCollapsed()) { r = r.deleteContents(); r.select(); - event.preventDefault(); - return false; } var text = $('<div />').text(clipboardData.getData("text/plain").toString()).html(); |
