Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prosemirror-dropcursor

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-dropcursor - npm Package Compare versions

Comparing version 0.17.2 to 0.18.0

2

dist/dropcursor.js

@@ -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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc