@udecode/plate-list
Advanced tools
Comparing version 5.3.1 to 5.3.5
# @udecode/plate-list | ||
## 5.3.5 | ||
### Patch Changes | ||
- [#1146](https://github.com/udecode/plate/pull/1146) [`3718c6d1`](https://github.com/udecode/plate/commit/3718c6d1abe1af8a94b41e9debef0cb5301d051c) Thanks [@ghingis](https://github.com/ghingis)! - fix: list toggle when selection is inside a single block | ||
- Updated dependencies [[`a6bf8c5e`](https://github.com/udecode/plate/commit/a6bf8c5e6897c6ab443e0ac3d69a30befeaddadf)]: | ||
- @udecode/plate-common@5.3.5 | ||
- @udecode/plate-reset-node@5.3.5 | ||
## 5.3.1 | ||
@@ -4,0 +14,0 @@ |
@@ -1146,3 +1146,3 @@ import { getPlatePluginOptions, getPlatePluginType, getPlatePluginTypes, mapPlatePluginKeysToOptions, isElement, getRenderElement, getSlateClass } from '@udecode/plate-core'; | ||
if (isCollapsed(editor.selection)) { | ||
if (isCollapsed(editor.selection) || !isRangeAcrossBlocks(editor)) { | ||
// selection is collapsed | ||
@@ -1149,0 +1149,0 @@ const res = getListItemEntry(editor); |
@@ -1150,3 +1150,3 @@ 'use strict'; | ||
if (plateCommon.isCollapsed(editor.selection)) { | ||
if (plateCommon.isCollapsed(editor.selection) || !plateCommon.isRangeAcrossBlocks(editor)) { | ||
// selection is collapsed | ||
@@ -1153,0 +1153,0 @@ const res = getListItemEntry(editor); |
{ | ||
"name": "@udecode/plate-list", | ||
"version": "5.3.1", | ||
"version": "5.3.5", | ||
"description": "List plugin for Plate", | ||
@@ -35,5 +35,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@udecode/plate-common": "5.3.1", | ||
"@udecode/plate-common": "5.3.5", | ||
"@udecode/plate-core": "5.3.1", | ||
"@udecode/plate-reset-node": "5.3.1" | ||
"@udecode/plate-reset-node": "5.3.5" | ||
}, | ||
@@ -40,0 +40,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
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
394492
+ Added@udecode/plate-common@5.3.5(transitive)
+ Added@udecode/plate-reset-node@5.3.5(transitive)
- Removed@udecode/plate-common@5.3.1(transitive)
- Removed@udecode/plate-reset-node@5.3.1(transitive)
Updated@udecode/plate-common@5.3.5