@haklex/rich-plugin-block-handle 0.0.86 → 0.0.87

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.
Files changed (2) hide show
  1. package/README.md +21 -21
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -10,31 +10,31 @@ pnpm add @haklex/rich-plugin-block-handle
10
10
 
11
11
  ## Peer Dependencies
12
12
 
13
- `@lexical/code` is provided transitively via `lexical-code-no-prism`. Install it separately only if your app imports `@lexical/code` directly.
14
-
15
- | Package | Version |
16
- | --- | --- |
17
- | `@lexical/list` | `^0.41.0` |
18
- | `@lexical/react` | `^0.41.0` |
19
- | `@lexical/rich-text` | `^0.41.0` |
20
- | `@lexical/selection` | `^0.41.0` |
21
- | `lexical` | `^0.41.0` |
22
- | `lucide-react` | `^0.574.0` |
23
- | `react` | `>= 19` |
24
- | `react-dom` | `>= 19` |
13
+ This plugin depends on `@lexical/code-core` (Lexical 0.42+). Add `@lexical/code-core` yourself only if your app imports it directly.
14
+
15
+ | Package | Version |
16
+ | -------------------- | ---------- |
17
+ | `@lexical/list` | `^0.42.0` |
18
+ | `@lexical/react` | `^0.42.0` |
19
+ | `@lexical/rich-text` | `^0.42.0` |
20
+ | `@lexical/selection` | `^0.42.0` |
21
+ | `lexical` | `^0.42.0` |
22
+ | `lucide-react` | `^0.574.0` |
23
+ | `react` | `>= 19` |
24
+ | `react-dom` | `>= 19` |
25
25
 
26
26
  ## Usage
27
27
 
28
28
  ```tsx
29
- import { BlockHandlePlugin } from '@haklex/rich-plugin-block-handle'
30
- import '@haklex/rich-plugin-block-handle/style.css'
29
+ import { BlockHandlePlugin } from '@haklex/rich-plugin-block-handle';
30
+ import '@haklex/rich-plugin-block-handle/style.css';
31
31
 
32
32
  function Editor() {
33
33
  return (
34
34
  <RichEditor>
35
35
  <BlockHandlePlugin />
36
36
  </RichEditor>
37
- )
37
+ );
38
38
  }
39
39
  ```
40
40
 
@@ -46,16 +46,16 @@ The plugin renders a drag handle and an add button on the left side of each bloc
46
46
 
47
47
  ## Exports
48
48
 
49
- | Export | Type | Description |
50
- | --- | --- | --- |
49
+ | Export | Type | Description |
50
+ | ------------------- | --------- | --------------------------------------------------- |
51
51
  | `BlockHandlePlugin` | Component | Main plugin component to render inside `RichEditor` |
52
52
 
53
53
  ## Sub-path Exports
54
54
 
55
- | Path | Description |
56
- | --- | --- |
57
- | `@haklex/rich-plugin-block-handle` | Plugin component |
58
- | `@haklex/rich-plugin-block-handle/style.css` | Stylesheet |
55
+ | Path | Description |
56
+ | -------------------------------------------- | ---------------- |
57
+ | `@haklex/rich-plugin-block-handle` | Plugin component |
58
+ | `@haklex/rich-plugin-block-handle/style.css` | Stylesheet |
59
59
 
60
60
  ## Part of Haklex
61
61
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haklex/rich-plugin-block-handle",
3
- "version": "0.0.86",
3
+ "version": "0.0.87",
4
4
  "description": "Block handle plugin with add button and context menu",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,8 +22,8 @@
22
22
  ],
23
23
  "dependencies": {
24
24
  "@lexical/code-core": "^0.42.0",
25
- "@haklex/rich-editor-ui": "0.0.86",
26
- "@haklex/rich-style-token": "0.0.86"
25
+ "@haklex/rich-style-token": "0.0.87",
26
+ "@haklex/rich-editor-ui": "0.0.87"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@lexical/list": "^0.42.0",