@editorcn/editor 0.2.0 → 0.3.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/README.md +2 -0
- package/dist/index.cjs +1596 -1520
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +105 -97
- package/dist/index.d.ts +105 -97
- package/dist/index.js +1600 -1530
- package/dist/index.js.map +1 -1
- package/dist/style.css +27 -9
- package/package.json +25 -24
package/README.md
CHANGED
|
@@ -19,6 +19,8 @@ A **toolbar-style** rich text editor built on [Tiptap](https://tiptap.dev/) with
|
|
|
19
19
|
npm install @editorcn/editor @tiptap/react @tiptap/pm @tiptap/starter-kit @tiptap/extension-link
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
+
> **Tiptap v3 required.** `@editorcn/editor` is built against Tiptap **v3**. Make sure your `@tiptap/*` packages are on v3, and import `BubbleMenu`/`FloatingMenu` from `@tiptap/react/menus` (not the `@tiptap/react` root) if you use them directly.
|
|
23
|
+
|
|
22
24
|
### shadcn registry
|
|
23
25
|
|
|
24
26
|
```bash
|