prosemirror-dropcursor
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -0,1 +1,7 @@ | ||
## 1.1.1 (2018-10-23) | ||
### Bug fixes | ||
Fix crash when destroying the plugin, due to a misspelled method name. | ||
## 1.1.0 (2018-10-22) | ||
@@ -2,0 +8,0 @@ |
@@ -40,3 +40,3 @@ 'use strict'; | ||
return this$1.editorView.dom.removeEventHandler(name, handler); | ||
return this$1.editorView.dom.removeEventListener(name, handler); | ||
}); | ||
@@ -43,0 +43,0 @@ }; |
{ | ||
"name": "prosemirror-dropcursor", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Drop cursor plugin for ProseMirror", | ||
@@ -5,0 +5,0 @@ "main": "dist/dropcursor.js", |
@@ -27,3 +27,3 @@ import {Plugin} from "prosemirror-state" | ||
destroy() { | ||
this.handlers.forEach(({name, handler}) => this.editorView.dom.removeEventHandler(name, handler)) | ||
this.handlers.forEach(({name, handler}) => this.editorView.dom.removeEventListener(name, handler)) | ||
} | ||
@@ -30,0 +30,0 @@ |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
24299
0