@lexical/selection 0.32.2-nightly.20250620.0 → 0.32.2-nightly.20250623.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.
package/LexicalSelection.dev.js
CHANGED
|
@@ -595,7 +595,7 @@ function $removeParentEmptyElements(startingNode) {
|
|
|
595
595
|
}
|
|
596
596
|
|
|
597
597
|
/**
|
|
598
|
-
* @deprecated
|
|
598
|
+
* @deprecated In favor of $setBlockTypes
|
|
599
599
|
* Wraps all nodes in the selection into another node of the type returned by createElement.
|
|
600
600
|
* @param selection - The selection of nodes to be wrapped.
|
|
601
601
|
* @param createElement - A function that creates the wrapping ElementNode. eg. $createParagraphNode.
|
package/LexicalSelection.dev.mjs
CHANGED
|
@@ -594,7 +594,7 @@ function $removeParentEmptyElements(startingNode) {
|
|
|
594
594
|
}
|
|
595
595
|
|
|
596
596
|
/**
|
|
597
|
-
* @deprecated
|
|
597
|
+
* @deprecated In favor of $setBlockTypes
|
|
598
598
|
* Wraps all nodes in the selection into another node of the type returned by createElement.
|
|
599
599
|
* @param selection - The selection of nodes to be wrapped.
|
|
600
600
|
* @param createElement - A function that creates the wrapping ElementNode. eg. $createParagraphNode.
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"selection"
|
|
10
10
|
],
|
|
11
11
|
"license": "MIT",
|
|
12
|
-
"version": "0.32.2-nightly.
|
|
12
|
+
"version": "0.32.2-nightly.20250623.0",
|
|
13
13
|
"main": "LexicalSelection.js",
|
|
14
14
|
"types": "index.d.ts",
|
|
15
15
|
"repository": {
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"lexical": "0.32.2-nightly.
|
|
40
|
+
"lexical": "0.32.2-nightly.20250623.0"
|
|
41
41
|
}
|
|
42
42
|
}
|
package/range-selection.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare function $copyBlockFormatIndent(srcNode: ElementNode, destNode: E
|
|
|
16
16
|
*/
|
|
17
17
|
export declare function $setBlocksType<T extends ElementNode>(selection: BaseSelection | null, $createElement: () => T, $afterCreateElement?: (prevNodeSrc: ElementNode, newNodeDest: T) => void): void;
|
|
18
18
|
/**
|
|
19
|
-
* @deprecated
|
|
19
|
+
* @deprecated In favor of $setBlockTypes
|
|
20
20
|
* Wraps all nodes in the selection into another node of the type returned by createElement.
|
|
21
21
|
* @param selection - The selection of nodes to be wrapped.
|
|
22
22
|
* @param createElement - A function that creates the wrapping ElementNode. eg. $createParagraphNode.
|