@remirror/extension-react-component
Advanced tools
Comparing version 1.0.2 to 1.0.3
# @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 @@ |
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
149417
3343
Updated@remirror/core@^1.0.2
Updated@remirror/messages@^1.0.2