@remirror/extension-react-component
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -636,11 +636,6 @@ 'use strict'; | ||
event.preventDefault(); | ||
} | ||
if (isDraggable && isDragEvent) { | ||
event.preventDefault(); | ||
return false; | ||
} // these events are handled by prosemirror | ||
if (isDropEvent || isCopyEvent || isPasteEvent || isCutEvent || isClickEvent && isSelectable) { | ||
if (isDragEvent || isDropEvent || isCopyEvent || isPasteEvent || isCutEvent || isClickEvent && isSelectable) { | ||
return false; | ||
@@ -647,0 +642,0 @@ } |
@@ -632,11 +632,6 @@ import _slicedToArray from '@babel/runtime/helpers/esm/slicedToArray'; | ||
event.preventDefault(); | ||
} | ||
if (isDraggable && isDragEvent) { | ||
event.preventDefault(); | ||
return false; | ||
} // these events are handled by prosemirror | ||
if (isDropEvent || isCopyEvent || isPasteEvent || isCutEvent || isClickEvent && isSelectable) { | ||
if (isDragEvent || isDropEvent || isCopyEvent || isPasteEvent || isCutEvent || isClickEvent && isSelectable) { | ||
return false; | ||
@@ -643,0 +638,0 @@ } |
@@ -636,11 +636,6 @@ 'use strict'; | ||
event.preventDefault(); | ||
} | ||
if (isDraggable && isDragEvent) { | ||
event.preventDefault(); | ||
return false; | ||
} // these events are handled by prosemirror | ||
if (isDropEvent || isCopyEvent || isPasteEvent || isCutEvent || isClickEvent && isSelectable) { | ||
if (isDragEvent || isDropEvent || isCopyEvent || isPasteEvent || isCutEvent || isClickEvent && isSelectable) { | ||
return false; | ||
@@ -647,0 +642,0 @@ } |
@@ -628,11 +628,6 @@ 'use strict'; | ||
event.preventDefault(); | ||
} | ||
if (isDraggable && isDragEvent) { | ||
event.preventDefault(); | ||
return false; | ||
} // these events are handled by prosemirror | ||
if (isDropEvent || isCopyEvent || isPasteEvent || isCutEvent || isClickEvent && isSelectable) { | ||
if (isDragEvent || isDropEvent || isCopyEvent || isPasteEvent || isCutEvent || isClickEvent && isSelectable) { | ||
return false; | ||
@@ -639,0 +634,0 @@ } |
@@ -632,11 +632,6 @@ import _slicedToArray from '@babel/runtime/helpers/esm/slicedToArray'; | ||
event.preventDefault(); | ||
} | ||
if (isDraggable && isDragEvent) { | ||
event.preventDefault(); | ||
return false; | ||
} // these events are handled by prosemirror | ||
if (isDropEvent || isCopyEvent || isPasteEvent || isCutEvent || isClickEvent && isSelectable) { | ||
if (isDragEvent || isDropEvent || isCopyEvent || isPasteEvent || isCutEvent || isClickEvent && isSelectable) { | ||
return false; | ||
@@ -643,0 +638,0 @@ } |
{ | ||
"name": "@remirror/extension-react-component", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Create prosemirror node views from your react components", | ||
@@ -50,3 +50,3 @@ "keywords": [ | ||
"@remirror/pm": "^1.0.8", | ||
"@remirror/react": "^1.0.17", | ||
"@remirror/react": "^1.0.18", | ||
"@types/react": "^17.0.14", | ||
@@ -53,0 +53,0 @@ "@types/react-dom": "^17.0.9", |
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
142560
3590