@udecode/plate-utils
Advanced tools
Comparing version 38.0.2 to 38.0.3
@@ -240,4 +240,4 @@ "use strict"; | ||
const editor = (0, import_react7.useEditorRef)(); | ||
const isEmptyBlock = (0, import_slate2.isElementEmpty)(editor, element); | ||
const enabled = isEmptyBlock && (!query || (0, import_slate2.queryNode)([element, (0, import_slate_react2.findNodePath)(editor, element)], query)) && (!hideOnBlur || (0, import_slate2.isCollapsed)(editor.selection) && hideOnBlur && focused && selected && !composing); | ||
const isEmptyBlock = (0, import_slate2.isElementEmpty)(editor, element) && !composing; | ||
const enabled = isEmptyBlock && (!query || (0, import_slate2.queryNode)([element, (0, import_slate_react2.findNodePath)(editor, element)], query)) && (!hideOnBlur || (0, import_slate2.isCollapsed)(editor.selection) && hideOnBlur && focused && selected); | ||
return { | ||
@@ -244,0 +244,0 @@ enabled |
{ | ||
"name": "@udecode/plate-utils", | ||
"version": "38.0.2", | ||
"version": "38.0.3", | ||
"description": "Plate utils", | ||
@@ -53,7 +53,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@udecode/plate-core": "38.0.2", | ||
"@udecode/plate-core": "38.0.3", | ||
"@udecode/react-utils": "38.0.1", | ||
"@udecode/slate": "37.0.0", | ||
"@udecode/slate-react": "38.0.1", | ||
"@udecode/slate-utils": "37.0.0", | ||
"@udecode/slate": "38.0.3", | ||
"@udecode/slate-react": "38.0.3", | ||
"@udecode/slate-utils": "38.0.3", | ||
"@udecode/utils": "37.0.0", | ||
@@ -60,0 +60,0 @@ "clsx": "^2.1.1", |
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
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
75300
+ Added@udecode/plate-core@38.0.3(transitive)
+ Added@udecode/slate@38.0.3(transitive)
+ Added@udecode/slate-react@38.0.3(transitive)
+ Added@udecode/slate-utils@38.0.3(transitive)
- Removed@udecode/plate-core@38.0.2(transitive)
- Removed@udecode/slate@37.0.0(transitive)
- Removed@udecode/slate-react@38.0.1(transitive)
- Removed@udecode/slate-utils@37.0.0(transitive)
Updated@udecode/plate-core@38.0.3
Updated@udecode/slate@38.0.3
Updated@udecode/slate-react@38.0.3
Updated@udecode/slate-utils@38.0.3