mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 14:13:21 +08:00
docs: add note about starter-kit dependencies
This commit is contained in:
parent
347e7be175
commit
3905a2627d
@ -48,7 +48,21 @@ yarn add prosemirror-commands prosemirror-keymap prosemirror-model prosemirror-s
|
||||
|
||||
# Installation with pnpm
|
||||
pnpm install prosemirror-commands prosemirror-keymap prosemirror-model prosemirror-schema-list prosemirror-state prosemirror-transform prosemirror-view
|
||||
````
|
||||
```
|
||||
|
||||
**Note if you use `@tiptap/starter-kit`**<br />
|
||||
Inside the StarterKit we also use `prosemirror-history`, `prosemirror-dropcursor`, and `prosemirror-gapcursor`.
|
||||
|
||||
```bash
|
||||
# Installation with NPM 6 or lower
|
||||
npm install prosemirror-history prosemirror-dropcursor prosemirror-gapcursor
|
||||
|
||||
# Installation with yarn
|
||||
yarn add prosemirror-history prosemirror-dropcursor prosemirror-gapcursor
|
||||
|
||||
# Installation with pnpm
|
||||
pnpm install prosemirror-history prosemirror-dropcursor prosemirror-gapcursor
|
||||
```
|
||||
|
||||
### 2. Add some markup
|
||||
Add the following HTML where you want the editor to be mounted:
|
||||
|
Loading…
Reference in New Issue
Block a user