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

@remirror/extension-react-component

Package Overview
Dependencies
Maintainers
1
Versions
278
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remirror/extension-react-component - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

8

CHANGELOG.md
# @remirror/extension-react-component
## 1.0.3
> 2021-08-10
### Patch Changes
- [#1031](https://github.com/remirror/remirror/pull/1031) [`fccb1a68c`](https://github.com/remirror/remirror/commit/fccb1a68c15c8f1c56c5c2561e0573b9932e8cbb) Thanks [@ocavue](https://github.com/ocavue)! - Ignore selection mutations for unselectable nodes.
## 1.0.2

@@ -4,0 +12,0 @@

3

dist/remirror-extension-react-component.browser.cjs.js

@@ -574,3 +574,4 @@ 'use strict';

if (mutation.type === 'selection') {
return false;
// If a node type is unselectable, then ignore all selection mutations.
return !_classPrivateFieldGet(this, _node).type.spec.selectable;
}

@@ -577,0 +578,0 @@

@@ -570,3 +570,4 @@ import _slicedToArray from '@babel/runtime/helpers/esm/slicedToArray';

if (mutation.type === 'selection') {
return false;
// If a node type is unselectable, then ignore all selection mutations.
return !_classPrivateFieldGet(this, _node).type.spec.selectable;
}

@@ -573,0 +574,0 @@

@@ -574,3 +574,4 @@ 'use strict';

if (mutation.type === 'selection') {
return false;
// If a node type is unselectable, then ignore all selection mutations.
return !_classPrivateFieldGet(this, _node).type.spec.selectable;
}

@@ -577,0 +578,0 @@

@@ -566,3 +566,4 @@ 'use strict';

if (mutation.type === 'selection') {
return false;
// If a node type is unselectable, then ignore all selection mutations.
return !_classPrivateFieldGet(this, _node).type.spec.selectable;
}

@@ -569,0 +570,0 @@

@@ -570,3 +570,4 @@ import _slicedToArray from '@babel/runtime/helpers/esm/slicedToArray';

if (mutation.type === 'selection') {
return false;
// If a node type is unselectable, then ignore all selection mutations.
return !_classPrivateFieldGet(this, _node).type.spec.selectable;
}

@@ -573,0 +574,0 @@

{
"name": "@remirror/extension-react-component",
"version": "1.0.2",
"version": "1.0.3",
"description": "Create prosemirror node views from your react components",

@@ -40,4 +40,4 @@ "keywords": [

"@babel/runtime": "^7.13.10",
"@remirror/core": "^1.0.1",
"@remirror/messages": "^1.0.1",
"@remirror/core": "^1.0.2",
"@remirror/messages": "^1.0.2",
"nanoevents": "^5.1.13"

@@ -44,0 +44,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