@lexical/text 0.43.1-nightly.20260417.0 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -134,6 +134,7 @@ function $canShowPlaceholderCurry(isEditorComposing) {
134
134
  * @param root - The RootNode.
135
135
  * @param targetCharacters - The number of characters whose TextNode must be larger than.
136
136
  * @returns The TextNode and the intersections offset, or null if no TextNode is found.
137
+ * @deprecated $findTextIntersectionFromCharacters has never worked correctly and will be removed
137
138
  */
138
139
  function $findTextIntersectionFromCharacters(root, targetCharacters) {
139
140
  let node = root.getFirstChild();
@@ -132,6 +132,7 @@ function $canShowPlaceholderCurry(isEditorComposing) {
132
132
  * @param root - The RootNode.
133
133
  * @param targetCharacters - The number of characters whose TextNode must be larger than.
134
134
  * @returns The TextNode and the intersections offset, or null if no TextNode is found.
135
+ * @deprecated $findTextIntersectionFromCharacters has never worked correctly and will be removed
135
136
  */
136
137
  function $findTextIntersectionFromCharacters(root, targetCharacters) {
137
138
  let node = root.getFirstChild();
@@ -12,6 +12,7 @@ import { RootNode, TextNode } from 'lexical';
12
12
  * @param root - The RootNode.
13
13
  * @param targetCharacters - The number of characters whose TextNode must be larger than.
14
14
  * @returns The TextNode and the intersections offset, or null if no TextNode is found.
15
+ * @deprecated $findTextIntersectionFromCharacters has never worked correctly and will be removed
15
16
  */
16
17
  export declare function $findTextIntersectionFromCharacters(root: RootNode, targetCharacters: number): null | {
17
18
  node: TextNode;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "text"
10
10
  ],
11
11
  "license": "MIT",
12
- "version": "0.43.1-nightly.20260417.0",
12
+ "version": "0.44.0",
13
13
  "main": "LexicalText.js",
14
14
  "types": "index.d.ts",
15
15
  "repository": {
@@ -37,6 +37,6 @@
37
37
  }
38
38
  },
39
39
  "dependencies": {
40
- "lexical": "0.43.1-nightly.20260417.0"
40
+ "lexical": "0.44.0"
41
41
  }
42
42
  }