From 6c2ce18bbcbedf1136565fb8b480ad376c886113 Mon Sep 17 00:00:00 2001 From: Tomasz Jakut Date: Tue, 24 Sep 2019 18:36:45 +0200 Subject: [PATCH] Always select bookmarks after copying widget. --- plugins/widget/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/widget/plugin.js b/plugins/widget/plugin.js index 9cadb603c5b..f3c1420edad 100644 --- a/plugins/widget/plugin.js +++ b/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() );