From 2f159f66710ee525a58c8b8623f6ee668490f3c3 Mon Sep 17 00:00:00 2001 From: Max Reynolds Date: Thu, 22 Apr 2021 06:06:45 +0100 Subject: [PATCH 1/3] Add install instructions This makes it easier than having to navigate over to the `installation` page. --- docs/src/docPages/overview/upgrade-guide.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/src/docPages/overview/upgrade-guide.md b/docs/src/docPages/overview/upgrade-guide.md index 158b8c69..e09869e5 100644 --- a/docs/src/docPages/overview/upgrade-guide.md +++ b/docs/src/docPages/overview/upgrade-guide.md @@ -27,6 +27,18 @@ npm uninstall tiptap tiptap-commands tiptap-extensions tiptap-utils yarn remove tiptap tiptap-commands tiptap-extensions tiptap-utils ``` +### Install tiptap 2.x + +Once you have uninstalled the old version of tiptap, install the core repository and starter kit: + +``` +# install with npm +npm install @tiptap/core @tiptap/starter-kit + +# install with Yarn +yarn add @tiptap/core @tiptap/starter-kit +``` + ### Explicitly register the Document, Text and Paragraph extensions tiptap 1 tried to hide a few required extensions from you with the default setting `useBuiltInExtensions: true`. That setting has been removed and you’re required to import all extensions. Be sure to explicitly import at least the [`Document`](/api/nodes/document), [`Paragraph`](/api/nodes/paragraph) and [`Text`](/api/nodes/text) extensions. From 93a38fa8787760143fb3329080605a9865712be3 Mon Sep 17 00:00:00 2001 From: Max Reynolds Date: Thu, 22 Apr 2021 16:47:53 +0100 Subject: [PATCH 2/3] Use vue2 install guide instead --- docs/src/docPages/overview/upgrade-guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/docPages/overview/upgrade-guide.md b/docs/src/docPages/overview/upgrade-guide.md index e09869e5..56b3e357 100644 --- a/docs/src/docPages/overview/upgrade-guide.md +++ b/docs/src/docPages/overview/upgrade-guide.md @@ -33,10 +33,10 @@ Once you have uninstalled the old version of tiptap, install the core repository ``` # install with npm -npm install @tiptap/core @tiptap/starter-kit +npm install @tiptap/vue-2 @tiptap/starter-kit # install with Yarn -yarn add @tiptap/core @tiptap/starter-kit +yarn add @tiptap/vue-2 @tiptap/starter-kit ``` ### Explicitly register the Document, Text and Paragraph extensions From 52567c0f650ee5b4429cdf8f64900d163eb3794b Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Fri, 23 Apr 2021 21:43:21 +0200 Subject: [PATCH 3/3] Update upgrade-guide.md --- docs/src/docPages/overview/upgrade-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/docPages/overview/upgrade-guide.md b/docs/src/docPages/overview/upgrade-guide.md index 56b3e357..35796467 100644 --- a/docs/src/docPages/overview/upgrade-guide.md +++ b/docs/src/docPages/overview/upgrade-guide.md @@ -29,7 +29,7 @@ yarn remove tiptap tiptap-commands tiptap-extensions tiptap-utils ### Install tiptap 2.x -Once you have uninstalled the old version of tiptap, install the core repository and starter kit: +Once you have uninstalled the old version of tiptap, install the new Vue 2 package and the starter kit: ``` # install with npm