Comparing version 0.13.1 to 0.14.0
@@ -8,3 +8,3 @@ /** | ||
'use strict' | ||
const Lexical = process.env.NODE_ENV === 'development' ? require('./Lexical.dev.js') : require('./Lexical.prod.js') | ||
const Lexical = process.env.NODE_ENV === 'development' ? require('./Lexical.dev.js') : require('./Lexical.prod.js'); | ||
module.exports = Lexical; |
@@ -231,2 +231,11 @@ /** | ||
/** | ||
* Helper for handling forward character and word deletion that prevents element nodes | ||
* like a table, columns layout being destroyed | ||
* | ||
* @param anchor the anchor | ||
* @param anchorNode the anchor node in the selection | ||
* @param isBackward whether or not selection is backwards | ||
*/ | ||
forwardDeletion(anchor: PointType, anchorNode: TextNode | ElementNode, isBackward: boolean): boolean; | ||
/** | ||
* Performs one logical character deletion operation on the EditorState based on the current Selection. | ||
@@ -233,0 +242,0 @@ * Handles different node types. |
@@ -72,3 +72,2 @@ /** | ||
excludeFromCopy(destination?: 'clone' | 'html'): boolean; | ||
canExtractContents(): boolean; | ||
canReplaceWith(replacement: LexicalNode): boolean; | ||
@@ -75,0 +74,0 @@ canInsertAfter(node: LexicalNode): boolean; |
@@ -12,3 +12,3 @@ { | ||
"license": "MIT", | ||
"version": "0.13.1", | ||
"version": "0.14.0", | ||
"main": "Lexical.js", | ||
@@ -19,3 +19,5 @@ "repository": { | ||
"directory": "packages/lexical" | ||
} | ||
}, | ||
"module": "Lexical.esm.js", | ||
"sideEffects": false | ||
} |
# `lexical` | ||
[](https://lexical.dev/docs/api/modules/lexical) | ||
Lexical is an extensible JavaScript web text-editor framework with an emphasis on reliability, accessibility, and performance. Lexical aims to provide a best-in-class developer experience, so you can easily prototype and build features with confidence. Combined with a highly extensible architecture, Lexical allows developers to create unique text editing experiences that scale in size and functionality. | ||
@@ -4,0 +6,0 @@ |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
1007609
31
21631
156
2
1