We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bca0002 commit c59774cCopy full SHA for c59774c
plugins/clipboard/plugin.js
@@ -359,7 +359,8 @@
359
360
// Because of FF bug we need to use this hack, otherwise cursor is hidden
361
// or it is not possible to move it (#12420).
362
- if ( CKEDITOR.env.gecko && data.method == 'drop' ) {
+ // Also, check that editor.toolbox exists, because the toolbar plugin might not be loaded (#13305).
363
+ if ( CKEDITOR.env.gecko && data.method == 'drop' && editor.toolbox ) {
364
editor.once( 'afterPaste', function() {
365
editor.toolbox.focus();
366
} );
0 commit comments