Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lexical/headless

Package Overview
Dependencies
Maintainers
6
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lexical/headless - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1-next.0

9

index.d.ts

@@ -10,11 +10,12 @@ /** @module @lexical/headless */

import type { EditorState, EditorThemeClasses, Klass, LexicalEditor, LexicalNode } from 'lexical';
declare type ErrorHandler = (error: Error) => void;
export declare function createHeadlessEditor(editorConfig?: {
disableEvents?: boolean;
editorState?: EditorState;
namespace: string;
namespace?: string;
nodes?: ReadonlyArray<Klass<LexicalNode>>;
onError: (error: Error) => void;
onError?: ErrorHandler;
parentEditor?: LexicalEditor;
readOnly?: boolean;
editable?: boolean;
theme?: EditorThemeClasses;
}): LexicalEditor;
export {};

@@ -11,6 +11,6 @@ {

"license": "MIT",
"version": "0.5.0",
"version": "0.5.1-next.0",
"main": "LexicalHeadless.js",
"peerDependencies": {
"lexical": "0.5.0"
"lexical": "0.5.1-next.0"
},

@@ -17,0 +17,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc