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

prosemirror-view

Package Overview
Dependencies
Maintainers
1
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-view - npm Package Compare versions

Comparing version 1.6.3 to 1.6.4

6

CHANGELOG.md

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

## 1.6.4 (2018-10-19)
### Bug fixes
Fix pasting when both text and files are present on the clipboard.
## 1.6.3 (2018-10-12)

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

2

package.json
{
"name": "prosemirror-view",
"version": "1.6.3",
"version": "1.6.4",
"description": "ProseMirror's view component",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -444,6 +444,4 @@ import {Selection, NodeSelection, TextSelection} from "prosemirror-state"

let data = brokenClipboardAPI ? null : e.clipboardData
if (data && data.files.length > 0) // Ignore file pastes
if (data && (doPaste(view, data.getData("text/plain"), data.getData("text/html"), e) || data.files.length > 0))
e.preventDefault()
else if (data && doPaste(view, data.getData("text/plain"), data.getData("text/html"), e))
e.preventDefault()
else

@@ -450,0 +448,0 @@ capturePaste(view, e)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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