Comparing version 0.17.1-nightly.20240806.0 to 0.17.1-nightly.20240807.0
@@ -23,3 +23,3 @@ /** | ||
export { $parseSerializedNode, isCurrentlyReadOnlyMode } from './LexicalUpdates'; | ||
export { $addUpdateTag, $applyNodeReplacement, $cloneWithProperties, $copyNode, $getAdjacentNode, $getEditor, $getNearestNodeFromDOMNode, $getNearestRootOrShadowRoot, $getNodeByKey, $getNodeByKeyOrThrow, $getRoot, $hasAncestor, $hasUpdateTag, $isInlineElementOrDecoratorNode, $isLeafNode, $isRootOrShadowRoot, $isTokenOrSegmented, $nodesOfType, $selectAll, $setCompositionKey, $setSelection, $splitNode, getNearestEditorFromDOMNode, isBlockDomNode, isHTMLAnchorElement, isHTMLElement, isInlineDomNode, isSelectionCapturedInDecoratorInput, isSelectionWithinEditor, resetRandomKey, } from './LexicalUtils'; | ||
export { $addUpdateTag, $applyNodeReplacement, $cloneWithProperties, $copyNode, $getAdjacentNode, $getEditor, $getNearestNodeFromDOMNode, $getNearestRootOrShadowRoot, $getNodeByKey, $getNodeByKeyOrThrow, $getRoot, $hasAncestor, $hasUpdateTag, $isInlineElementOrDecoratorNode, $isLeafNode, $isRootOrShadowRoot, $isTokenOrSegmented, $nodesOfType, $selectAll, $setCompositionKey, $setSelection, $splitNode, getEditorPropertyFromDOMNode, getNearestEditorFromDOMNode, isBlockDomNode, isHTMLAnchorElement, isHTMLElement, isInlineDomNode, isLexicalEditor, isSelectionCapturedInDecoratorInput, isSelectionWithinEditor, resetRandomKey, } from './LexicalUtils'; | ||
export { ArtificialNode__DO_NOT_USE } from './nodes/ArtificialNode'; | ||
@@ -26,0 +26,0 @@ export { $isDecoratorNode, DecoratorNode } from './nodes/LexicalDecoratorNode'; |
@@ -229,2 +229,4 @@ /** | ||
['constructor']: KlassConstructor<typeof LexicalEditor>; | ||
/** The version with build identifiers for this editor (since 0.17.1) */ | ||
static version: string | undefined; | ||
/** @internal */ | ||
@@ -231,0 +233,0 @@ _headless: boolean; |
@@ -8,5 +8,5 @@ /** | ||
*/ | ||
import type { CommandPayloadType, EditorUpdateOptions, LexicalCommand, LexicalEditor, Transform } from './LexicalEditor'; | ||
import type { SerializedEditorState } from './LexicalEditorState'; | ||
import type { LexicalNode, SerializedLexicalNode } from './LexicalNode'; | ||
import { CommandPayloadType, EditorUpdateOptions, LexicalCommand, LexicalEditor, Transform } from './LexicalEditor'; | ||
import { EditorState } from './LexicalEditorState'; | ||
@@ -13,0 +13,0 @@ export declare function isCurrentlyReadOnlyMode(): boolean; |
@@ -25,3 +25,9 @@ /** | ||
export declare function isSelectionWithinEditor(editor: LexicalEditor, anchorDOM: null | Node, focusDOM: null | Node): boolean; | ||
/** | ||
* @returns true if the given argument is a LexicalEditor instance from this build of Lexical | ||
*/ | ||
export declare function isLexicalEditor(editor: unknown): editor is LexicalEditor; | ||
export declare function getNearestEditorFromDOMNode(node: Node | null): LexicalEditor | null; | ||
/** @internal */ | ||
export declare function getEditorPropertyFromDOMNode(node: Node | null): unknown; | ||
export declare function getTextDirection(text: string): 'ltr' | 'rtl' | null; | ||
@@ -28,0 +34,0 @@ export declare function $isTokenOrSegmented(node: TextNode): boolean; |
@@ -12,3 +12,3 @@ { | ||
"license": "MIT", | ||
"version": "0.17.1-nightly.20240806.0", | ||
"version": "0.17.1-nightly.20240807.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 not supported yet
Sorry, the diff of this file is too big to display
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
1072008
22885