Skip to content
Permalink
Browse files

Fixed inline widget is not draggable if selection is on ZWS.

  • Loading branch information...
scofalik committed Jul 2, 2015
1 parent e614c0a commit e191f4be11fec81c21c5397a1caa3a4ce68d4bef
Showing with 5 additions and 0 deletions.
  1. +5 −0 plugins/widget/plugin.js
@@ -2481,6 +2481,11 @@
// Block widgets are handled by Lineutils.
if ( widget.inline && target.type == CKEDITOR.NODE_ELEMENT && target.hasAttribute( 'data-cke-widget-drag-handler' ) ) {
mouseDownOnDragHandler = 1;

// #13284.
if ( widgetsRepo.focused != widget )
editor.getSelection().removeAllRanges();

return;
}

0 comments on commit e191f4b

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