Skip to content

Commit

Permalink
Always select bookmarks after copying widget.
Browse files Browse the repository at this point in the history
  • Loading branch information
Comandeer committed Sep 24, 2019
1 parent 4b25e68 commit 6c2ce18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/widget/plugin.js
Expand Up @@ -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() );
Expand Down

0 comments on commit 6c2ce18

Please sign in to comment.