@lexical/text 0.11.1 → 0.11.3
Sign up to get free protection for your applications and to get access to all the features.
- 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