Skip to content

Commit a7b117f

Browse files
committed
Merge branch 't/10219'
2 parents 5339059 + 697e85f commit a7b117f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/clipboard/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@
480480
// Use editor.document instead of editable in non-IEs for observing mouseup
481481
// since editable won't fire the event if selection process started within
482482
// iframe and ended out of the editor (#9851).
483-
( CKEDITOR.env.ie ? editable : editor.document.getDocumentElement() ).on( 'mouseup', function() {
483+
editable.attachListener( CKEDITOR.env.ie ? editable : editor.document.getDocumentElement(), 'mouseup', function() {
484484
setTimeout( function() {
485485
setToolbarStates();
486486
}, 0 );

0 commit comments

Comments
 (0)