summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/summernote.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_editor/static/src/js/summernote.js')
-rw-r--r--addons/web_editor/static/src/js/summernote.js2
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();