@udecode/plate-common
Advanced tools
Comparing version 4.4.0 to 5.1.0
# @udecode/plate-common | ||
## 5.1.0 | ||
### Patch Changes | ||
- [#1105](https://github.com/udecode/plate/pull/1105) [`503956fd`](https://github.com/udecode/plate/commit/503956fd9f71253249b3ad699b81c1c465351b0a) Thanks [@aj-foster](https://github.com/aj-foster)! - Allow options passed to isSelectionAtBlockStart | ||
## 4.4.0 | ||
@@ -4,0 +10,0 @@ |
@@ -1,6 +0,9 @@ | ||
import { TEditor } from '@udecode/plate-core'; | ||
import { AnyObject, TAncestor, TEditor } from '@udecode/plate-core'; | ||
import { EditorAboveOptions } from '../types/Editor.types'; | ||
/** | ||
* Is the selection focus at the start of its parent block. | ||
* | ||
* Supports the same options provided by {@link getBlockAbove}. | ||
*/ | ||
export declare const isSelectionAtBlockStart: (editor: TEditor) => boolean; | ||
export declare const isSelectionAtBlockStart: (editor: TEditor, options?: EditorAboveOptions<TAncestor<AnyObject>> | undefined) => boolean; | ||
//# sourceMappingURL=isSelectionAtBlockStart.d.ts.map |
{ | ||
"name": "@udecode/plate-common", | ||
"version": "4.4.0", | ||
"version": "5.1.0", | ||
"description": "Common utilities used by Plate", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
1035455
11091