Skip to content

Commit fd2aeb8

Browse files
committed
Merge branch 't/12173' into major
2 parents 04f256b + 768430d commit fd2aeb8

File tree

19 files changed

+1476
-728
lines changed

19 files changed

+1476
-728
lines changed

plugins/clipboard/dialogs/paste.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,12 @@ CKEDITOR.dialog.add( 'paste', function( editor ) {
5555
// Do not use editor#paste, because it would start from beforePaste event.
5656
editor.on( 'pasteDialogCommit', function( evt ) {
5757
if ( evt.data )
58-
editor.fire( 'paste', { type: 'auto', dataValue: evt.data } );
58+
editor.fire( 'paste', {
59+
type: 'auto',
60+
dataValue: evt.data,
61+
method: 'paste',
62+
dataTransfer: CKEDITOR.plugins.clipboard.initPasteDataTransfer()
63+
} );
5964
}, null, null, 1000 );
6065

6166
return {

0 commit comments

Comments
 (0)