diff --git a/docs/api/extensions/dropcursor.md b/docs/api/extensions/dropcursor.md index 93200d6a231..512f4d97bf6 100644 --- a/docs/api/extensions/dropcursor.md +++ b/docs/api/extensions/dropcursor.md @@ -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 diff --git a/docs/api/extensions/gapcursor.md b/docs/api/extensions/gapcursor.md index 313aa475332..9a64a8bf1b8 100644 --- a/docs/api/extensions/gapcursor.md +++ b/docs/api/extensions/gapcursor.md @@ -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/) diff --git a/docs/api/extensions/history.md b/docs/api/extensions/history.md index 2009a9b47b7..fa8b81d4d66 100644 --- a/docs/api/extensions/history.md +++ b/docs/api/extensions/history.md @@ -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