Skip to content

Commit

Permalink
docs: add installation notes to extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbch committed Dec 8, 2022
1 parent 898c74f commit 5380758
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/api/extensions/dropcursor.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ Note that Tiptap is headless, but the dropcursor needs CSS for its appearance. T
npm install @tiptap/extension-dropcursor
```


If you use NPM 6 or lower, yarn or pnpm, you also need to install the Prosemirror dependencies.

```bash
# NPM 6 and lower
npm install prosemirror-dropcursor

# yarn
yarn add prosemirror-dropcursor

# pnpm
pnpm install prosemirror-dropcursor
```

## Settings

### color
Expand Down
13 changes: 13 additions & 0 deletions docs/api/extensions/gapcursor.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ Note that Tiptap is headless, but the gapcursor needs CSS for its appearance. Th
npm install @tiptap/extension-gapcursor
```

If you use NPM 6 or lower, yarn or pnpm, you also need to install the Prosemirror dependencies.

```bash
# NPM 6 and lower
npm install prosemirror-gapcursor

# yarn
yarn add prosemirror-gapcursor

# pnpm
pnpm install prosemirror-gapcursor
```

## Source code
[packages/extension-gapcursor/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-gapcursor/)

Expand Down
13 changes: 13 additions & 0 deletions docs/api/extensions/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@ This extension provides history support. All changes to the document will be tra
npm install @tiptap/extension-history
```

If you use NPM 6 or lower, yarn or pnpm, you also need to install the Prosemirror dependencies.

```bash
# NPM 6 and lower
npm install prosemirror-history

# yarn
yarn add prosemirror-history

# pnpm
pnpm install prosemirror-history
```

## Settings

### depth
Expand Down

0 comments on commit 5380758

Please sign in to comment.