Skip to content

Commit b1c4935

Browse files
author
gitlabci
committed
Merge branch '2024.11'
2 parents 8990ff1 + c6472c4 commit b1c4935

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tine20/Tinebase/js/extFixes.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ Ext.apply(Ext.form.HtmlEditor.prototype, {
5252
}(),
5353
onClipboardEvent: async function (event) {
5454
const clipboardData = event.clipboardData || window.clipboardData;
55+
if (clipboardData.files.length > 0) {
56+
// fall back to default behaviour when pasting image
57+
return;
58+
}
5559
const plainText = clipboardData.getData('text/plain');
5660
const htmlText = clipboardData.getData('text/html');
5761
let result = {

0 commit comments

Comments
 (0)