Browse Source

Merge pull request #1148 from storyn26383/patch-2

cancel dnd if original target is content editable
pull/1159/head
Lebedev Konstantin 7 years ago committed by GitHub
parent
commit
f355f751b5
  1. 4
      Sortable.js

4
Sortable.js

@ -326,6 +326,10 @@
return; // only left button or enabled
}
// cancel dnd if original target is content editable
if (originalTarget.isContentEditable) {
return;
}
target = _closest(target, options.draggable, el);

Loading…
Cancel
Save