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

prosemirror-paste-rules

Package Overview
Dependencies
Maintainers
1
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-paste-rules - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

6

dist/prosemirror-paste-rules.js

@@ -66,3 +66,3 @@ // packages/prosemirror-paste-rules/src/paste-rules-plugin.ts

}
return slice;
return fixSliceOpening(slice);
},

@@ -284,2 +284,6 @@ handleDOMEvents: {

}
function fixSliceOpening(slice) {
const max = Slice.maxOpen(slice.content);
return max.openStart < slice.openStart || max.openEnd < slice.openEnd ? max : slice;
}
export {

@@ -286,0 +290,0 @@ isInCode,

6

package.json
{
"name": "prosemirror-paste-rules",
"version": "2.0.1",
"version": "2.0.2",
"description": "Better handling of pasted content in your prosemirror editor.",

@@ -39,5 +39,5 @@ "homepage": "https://github.com/remirror/remirror/tree/HEAD/packages/prosemirror-paste-rules",

"devDependencies": {
"prosemirror-model": "^1.18.1",
"prosemirror-model": "^1.18.3",
"prosemirror-state": "^1.4.2",
"prosemirror-view": "^1.29.0"
"prosemirror-view": "^1.29.1"
},

@@ -44,0 +44,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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