prosemirror-dropcursor
Advanced tools
Comparing version 0.17.2 to 0.18.0
@@ -59,3 +59,3 @@ var ref = require("prosemirror-state"); | ||
dragleave: function dragleave(view, event) { | ||
if (event.target == view.content) { dispatch(view, {type: "remove"}) } | ||
if (event.target == view.dom) { dispatch(view, {type: "remove"}) } | ||
return false | ||
@@ -62,0 +62,0 @@ } |
{ | ||
"name": "prosemirror-dropcursor", | ||
"version": "0.17.2", | ||
"version": "0.18.0", | ||
"description": "Drop cursor plugin for ProseMirror", | ||
@@ -23,4 +23,4 @@ "main": "dist/dropcursor.js", | ||
"dependencies": { | ||
"prosemirror-state": "^0.17.0", | ||
"prosemirror-view": "^0.17.0" | ||
"prosemirror-state": "^0.18.0", | ||
"prosemirror-view": "^0.18.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "scripts": { |
@@ -56,3 +56,3 @@ const {Plugin} = require("prosemirror-state") | ||
dragleave(view, event) { | ||
if (event.target == view.content) dispatch(view, {type: "remove"}) | ||
if (event.target == view.dom) dispatch(view, {type: "remove"}) | ||
return false | ||
@@ -59,0 +59,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13337
+ Addedprosemirror-model@0.18.0(transitive)
+ Addedprosemirror-state@0.18.0(transitive)
+ Addedprosemirror-transform@0.18.0(transitive)
+ Addedprosemirror-view@0.18.0(transitive)
- Removedprosemirror-model@0.17.0(transitive)
- Removedprosemirror-state@0.17.1(transitive)
- Removedprosemirror-transform@0.17.0(transitive)
- Removedprosemirror-view@0.17.7(transitive)
Updatedprosemirror-state@^0.18.0
Updatedprosemirror-view@^0.18.0