@lexical/headless
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -9,13 +9,3 @@ /** @module @lexical/headless */ | ||
*/ | ||
import type { EditorState, EditorThemeClasses, Klass, LexicalEditor, LexicalNode } from 'lexical'; | ||
declare type ErrorHandler = (error: Error) => void; | ||
export declare function createHeadlessEditor(editorConfig?: { | ||
editorState?: EditorState; | ||
namespace?: string; | ||
nodes?: ReadonlyArray<Klass<LexicalNode>>; | ||
onError?: ErrorHandler; | ||
parentEditor?: LexicalEditor; | ||
editable?: boolean; | ||
theme?: EditorThemeClasses; | ||
}): LexicalEditor; | ||
export {}; | ||
import type { CreateEditorArgs, LexicalEditor } from 'lexical'; | ||
export declare function createHeadlessEditor(editorConfig?: CreateEditorArgs): LexicalEditor; |
@@ -11,6 +11,6 @@ { | ||
"license": "MIT", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"main": "LexicalHeadless.js", | ||
"peerDependencies": { | ||
"lexical": "0.8.0" | ||
"lexical": "0.8.1" | ||
}, | ||
@@ -17,0 +17,0 @@ "repository": { |
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
5655
47