Skip to content
Permalink
Browse files

Always select bookmarks after copying widget.

  • Loading branch information...
Comandeer committed Sep 24, 2019
1 parent 4b25e68 commit 6c2ce18bbcbedf1136565fb8b480ad376c886113
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/widget/plugin.js
@@ -3393,7 +3393,7 @@
// Blink and WebKit, when widgets are at the beginning and at the end of the content (#3138).
if ( !focused ) {
isWholeSelection = CKEDITOR.env.webkit && CKEDITOR.plugins.widgetselection.isWholeContentSelected( editor.editable() );
bookmarks = !isWholeSelection && editor.getSelection().createBookmarks( true );
bookmarks = editor.getSelection().createBookmarks( true );
}

copyBin.handle( getClipboardHtml() );

0 comments on commit 6c2ce18

Please sign in to comment.
You can’t perform that action at this time.