Comparing version 0.15.0 to 0.16.0
@@ -57,2 +57,3 @@ /** | ||
}; | ||
hr?: EditorThemeClassName; | ||
image?: EditorThemeClassName; | ||
@@ -59,0 +60,0 @@ link?: EditorThemeClassName; |
@@ -18,2 +18,3 @@ /** | ||
export declare function internalGetActiveEditor(): LexicalEditor | null; | ||
export declare function internalGetActiveEditorState(): EditorState | null; | ||
export declare function $applyTransforms(editor: LexicalEditor, node: LexicalNode, transformsCache: Map<string, Array<Transform<LexicalNode>>>): void; | ||
@@ -20,0 +21,0 @@ export declare function $parseSerializedNode(serializedNode: SerializedLexicalNode): LexicalNode; |
@@ -56,33 +56,33 @@ /** | ||
export declare function $shouldInsertTextAfterOrBeforeTextNode(selection: RangeSelection, node: TextNode): boolean; | ||
export declare function isTab(code: string, altKey: boolean, ctrlKey: boolean, metaKey: boolean): boolean; | ||
export declare function isBold(code: string, altKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isItalic(code: string, altKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isUnderline(code: string, altKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isParagraph(code: string, shiftKey: boolean): boolean; | ||
export declare function isLineBreak(keyCode: string, shiftKey: boolean): boolean; | ||
export declare function isOpenLineBreak(code: string, ctrlKey: boolean): boolean; | ||
export declare function isDeleteWordBackward(code: string, altKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isDeleteWordForward(code: string, altKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isDeleteLineBackward(code: string, metaKey: boolean): boolean; | ||
export declare function isDeleteLineForward(code: string, metaKey: boolean): boolean; | ||
export declare function isDeleteBackward(code: string, altKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isDeleteForward(code: string, ctrlKey: boolean, shiftKey: boolean, altKey: boolean, metaKey: boolean): boolean; | ||
export declare function isUndo(code: string, shiftKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isRedo(code: string, shiftKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isCopy(code: string, shiftKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isCut(code: string, shiftKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isMoveBackward(code: string, ctrlKey: boolean, altKey: boolean, metaKey: boolean): boolean; | ||
export declare function isMoveToStart(code: string, ctrlKey: boolean, shiftKey: boolean, altKey: boolean, metaKey: boolean): boolean; | ||
export declare function isMoveForward(code: string, ctrlKey: boolean, altKey: boolean, metaKey: boolean): boolean; | ||
export declare function isMoveToEnd(code: string, ctrlKey: boolean, shiftKey: boolean, altKey: boolean, metaKey: boolean): boolean; | ||
export declare function isMoveUp(code: string, ctrlKey: boolean, metaKey: boolean): boolean; | ||
export declare function isMoveDown(code: string, ctrlKey: boolean, metaKey: boolean): boolean; | ||
export declare function isTab(key: string, altKey: boolean, ctrlKey: boolean, metaKey: boolean): boolean; | ||
export declare function isBold(key: string, altKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isItalic(key: string, altKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isUnderline(key: string, altKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isParagraph(key: string, shiftKey: boolean): boolean; | ||
export declare function isLineBreak(key: string, shiftKey: boolean): boolean; | ||
export declare function isOpenLineBreak(key: string, ctrlKey: boolean): boolean; | ||
export declare function isDeleteWordBackward(key: string, altKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isDeleteWordForward(key: string, altKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isDeleteLineBackward(key: string, metaKey: boolean): boolean; | ||
export declare function isDeleteLineForward(key: string, metaKey: boolean): boolean; | ||
export declare function isDeleteBackward(key: string, altKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isDeleteForward(key: string, ctrlKey: boolean, shiftKey: boolean, altKey: boolean, metaKey: boolean): boolean; | ||
export declare function isUndo(key: string, shiftKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isRedo(key: string, shiftKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isCopy(key: string, shiftKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isCut(key: string, shiftKey: boolean, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isMoveBackward(key: string, ctrlKey: boolean, altKey: boolean, metaKey: boolean): boolean; | ||
export declare function isMoveToStart(key: string, ctrlKey: boolean, shiftKey: boolean, altKey: boolean, metaKey: boolean): boolean; | ||
export declare function isMoveForward(key: string, ctrlKey: boolean, altKey: boolean, metaKey: boolean): boolean; | ||
export declare function isMoveToEnd(key: string, ctrlKey: boolean, shiftKey: boolean, altKey: boolean, metaKey: boolean): boolean; | ||
export declare function isMoveUp(key: string, ctrlKey: boolean, metaKey: boolean): boolean; | ||
export declare function isMoveDown(key: string, ctrlKey: boolean, metaKey: boolean): boolean; | ||
export declare function isModifier(ctrlKey: boolean, shiftKey: boolean, altKey: boolean, metaKey: boolean): boolean; | ||
export declare function isSpace(code: string): boolean; | ||
export declare function isSpace(key: string): boolean; | ||
export declare function controlOrMeta(metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isReturn(code: string): boolean; | ||
export declare function isBackspace(code: string): boolean; | ||
export declare function isEscape(code: string): boolean; | ||
export declare function isDelete(code: string): boolean; | ||
export declare function isSelectAll(code: string, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function isReturn(key: string): boolean; | ||
export declare function isBackspace(key: string): boolean; | ||
export declare function isEscape(key: string): boolean; | ||
export declare function isDelete(key: string): boolean; | ||
export declare function isSelectAll(key: string, metaKey: boolean, ctrlKey: boolean): boolean; | ||
export declare function $selectAll(): void; | ||
@@ -89,0 +89,0 @@ export declare function getCachedClassNameArray(classNamesTheme: EditorThemeClasses, classNameThemeType: string): Array<string>; |
@@ -72,3 +72,5 @@ /** | ||
excludeFromCopy(destination?: 'clone' | 'html'): boolean; | ||
/** @deprecated @internal */ | ||
canReplaceWith(replacement: LexicalNode): boolean; | ||
/** @deprecated @internal */ | ||
canInsertAfter(node: LexicalNode): boolean; | ||
@@ -80,2 +82,3 @@ canBeEmpty(): boolean; | ||
isShadowRoot(): boolean; | ||
/** @deprecated @internal */ | ||
canMergeWith(node: ElementNode): boolean; | ||
@@ -82,0 +85,0 @@ extractWithChild(child: LexicalNode, selection: BaseSelection | null, destination: 'clone' | 'html'): boolean; |
@@ -12,3 +12,3 @@ { | ||
"license": "MIT", | ||
"version": "0.15.0", | ||
"version": "0.16.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 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
1037517
22188