@lexical/text 0.11.1 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +2 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
*/
|
9
9
|
import type { Klass, LexicalEditor, RootNode } from 'lexical';
|
10
10
|
import { TextNode } from 'lexical';
|
11
|
-
export
|
11
|
+
export type TextNodeWithOffset = {
|
12
12
|
node: TextNode;
|
13
13
|
offset: number;
|
14
14
|
};
|
@@ -55,7 +55,7 @@ export declare function $canShowPlaceholder(isComposing: boolean): boolean;
|
|
55
55
|
* @returns A function that executes $canShowPlaceholder with arguments.
|
56
56
|
*/
|
57
57
|
export declare function $canShowPlaceholderCurry(isEditorComposing: boolean): () => boolean;
|
58
|
-
export
|
58
|
+
export type EntityMatch = {
|
59
59
|
end: number;
|
60
60
|
start: number;
|
61
61
|
};
|
package/package.json
CHANGED