Comparing version 0.25.1-nightly.20250228.0 to 0.26.0
@@ -17,3 +17,3 @@ /** | ||
*/ | ||
export declare function $caretFromPoint<D extends CaretDirection>(point: PointType, direction: D): PointCaret<D>; | ||
export declare function $caretFromPoint<D extends CaretDirection>(point: Pick<PointType, 'type' | 'key' | 'offset'>, direction: D): PointCaret<D>; | ||
/** | ||
@@ -20,0 +20,0 @@ * Update the given point in-place from the PointCaret |
@@ -21,2 +21,3 @@ /** | ||
updateDOM(): false; | ||
isInline(): true; | ||
static importDOM(): DOMConversionMap | null; | ||
@@ -23,0 +24,0 @@ static importJSON(serializedLineBreakNode: SerializedLineBreakNode): LineBreakNode; |
@@ -142,2 +142,6 @@ /** | ||
canHaveFormat(): boolean; | ||
/** | ||
* @returns true if the text node is inline, false otherwise. | ||
*/ | ||
isInline(): true; | ||
createDOM(config: EditorConfig, editor?: LexicalEditor): HTMLElement; | ||
@@ -144,0 +148,0 @@ updateDOM(prevNode: this, dom: HTMLElement, config: EditorConfig): boolean; |
@@ -12,3 +12,3 @@ { | ||
"license": "MIT", | ||
"version": "0.25.1-nightly.20250228.0", | ||
"version": "0.26.0", | ||
"main": "Lexical.js", | ||
@@ -15,0 +15,0 @@ "types": "index.d.ts", |
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
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1410699
29913