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 1.5.0-beta.1 to 1.5.0

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 1.5.0 (2022-05-30)
### New features
Include TypeScript type declarations.
## 1.4.0 (2021-11-11)

@@ -2,0 +8,0 @@

2

package.json
{
"name": "prosemirror-dropcursor",
"version": "1.5.0-beta.1",
"version": "1.5.0",
"description": "Drop cursor plugin for ProseMirror",

@@ -5,0 +5,0 @@ "type": "module",

@@ -24,3 +24,3 @@ import {Plugin, EditorState} from "prosemirror-state"

/// position, and should return a boolean.
export function dropCursor(options: DropCursorOptions = {}) {
export function dropCursor(options: DropCursorOptions = {}): Plugin {
return new Plugin({

@@ -27,0 +27,0 @@ view(editorView) { return new DropCursorView(editorView, options) }

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