@haklex/rich-plugin-block-handle 0.27.0 → 0.29.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/dist/index.mjs +2 -2
- package/package.json +24 -24
package/dist/index.mjs
CHANGED
|
@@ -497,7 +497,7 @@ function useBlockSelection(editor) {
|
|
|
497
497
|
if (topLevelKey) {
|
|
498
498
|
anchorKeyRef.current = topLevelKey;
|
|
499
499
|
focusKeyRef.current = topLevelKey;
|
|
500
|
-
blockSelectionKeysRef.current = new Set([topLevelKey]);
|
|
500
|
+
blockSelectionKeysRef.current = /* @__PURE__ */ new Set([topLevelKey]);
|
|
501
501
|
const nodeSel = $createNodeSelection();
|
|
502
502
|
nodeSel.add(topLevelKey);
|
|
503
503
|
$setSelection(nodeSel);
|
|
@@ -614,7 +614,7 @@ function useBlockSelection(editor) {
|
|
|
614
614
|
} else {
|
|
615
615
|
anchorKeyRef.current = nodeKey;
|
|
616
616
|
focusKeyRef.current = nodeKey;
|
|
617
|
-
blockSelectionKeysRef.current = new Set([nodeKey]);
|
|
617
|
+
blockSelectionKeysRef.current = /* @__PURE__ */ new Set([nodeKey]);
|
|
618
618
|
const sel = $createNodeSelection();
|
|
619
619
|
sel.add(nodeKey);
|
|
620
620
|
$setSelection(sel);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-plugin-block-handle",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "Block handle plugin with add button and context menu",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dist"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@lexical/code-core": "^0.
|
|
24
|
+
"@lexical/code-core": "^0.46.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@lexical/html": "^0.
|
|
28
|
-
"@lexical/list": "^0.
|
|
29
|
-
"@lexical/react": "^0.
|
|
30
|
-
"@lexical/rich-text": "^0.
|
|
31
|
-
"@lexical/selection": "^0.
|
|
27
|
+
"@lexical/html": "^0.46.0",
|
|
28
|
+
"@lexical/list": "^0.46.0",
|
|
29
|
+
"@lexical/react": "^0.46.0",
|
|
30
|
+
"@lexical/rich-text": "^0.46.0",
|
|
31
|
+
"@lexical/selection": "^0.46.0",
|
|
32
32
|
"@types/react": "^19.2.17",
|
|
33
33
|
"@types/react-dom": "^19.2.3",
|
|
34
|
-
"@vanilla-extract/css": "^1.
|
|
35
|
-
"@vanilla-extract/vite-plugin": "^5.2.
|
|
36
|
-
"lexical": "^0.
|
|
37
|
-
"lucide-react": "^1.
|
|
38
|
-
"react": "19.2.
|
|
39
|
-
"react-dom": "19.2.
|
|
40
|
-
"typescript": "^
|
|
41
|
-
"unplugin-dts": "^1.0.
|
|
42
|
-
"vite": "^8.0
|
|
34
|
+
"@vanilla-extract/css": "^1.21.0",
|
|
35
|
+
"@vanilla-extract/vite-plugin": "^5.2.3",
|
|
36
|
+
"lexical": "^0.46.0",
|
|
37
|
+
"lucide-react": "^1.21.0",
|
|
38
|
+
"react": "^19.2.7",
|
|
39
|
+
"react-dom": "^19.2.7",
|
|
40
|
+
"typescript": "^6.0.3",
|
|
41
|
+
"unplugin-dts": "^1.0.3",
|
|
42
|
+
"vite": "^8.1.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@lexical/html": "^0.
|
|
46
|
-
"@lexical/list": "^0.
|
|
47
|
-
"@lexical/react": "^0.
|
|
48
|
-
"@lexical/rich-text": "^0.
|
|
49
|
-
"@lexical/selection": "^0.
|
|
50
|
-
"lexical": "^0.
|
|
45
|
+
"@lexical/html": "^0.46.0",
|
|
46
|
+
"@lexical/list": "^0.46.0",
|
|
47
|
+
"@lexical/react": "^0.46.0",
|
|
48
|
+
"@lexical/rich-text": "^0.46.0",
|
|
49
|
+
"@lexical/selection": "^0.46.0",
|
|
50
|
+
"lexical": "^0.46.0",
|
|
51
51
|
"lucide-react": "^1.0.0",
|
|
52
52
|
"react": ">=19",
|
|
53
53
|
"react-dom": ">=19",
|
|
54
|
-
"@haklex/rich-editor-ui": "^0.
|
|
55
|
-
"@haklex/rich-style-token": "^0.
|
|
54
|
+
"@haklex/rich-editor-ui": "^0.29.0",
|
|
55
|
+
"@haklex/rich-style-token": "^0.29.0"
|
|
56
56
|
},
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|