From f5dabc76f230f4a0115d105ca31173f276fb045d Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Tue, 10 Nov 2020 15:28:29 +0100 Subject: [PATCH 1/3] update content --- .../docPages/guide/build-custom-extensions.md | 2 +- docs/src/docPages/overview/installation.md | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/docs/src/docPages/guide/build-custom-extensions.md b/docs/src/docPages/guide/build-custom-extensions.md index da1e454bb..b5d819cd3 100644 --- a/docs/src/docPages/guide/build-custom-extensions.md +++ b/docs/src/docPages/guide/build-custom-extensions.md @@ -130,7 +130,7 @@ const CustomParagraph = Paragraph.extend({ }) // Result: -//

Example Text

+//

Example Text

``` You can also control how the attribute is parsed from the HTML. Let’s say you want to store the color in an attribute called `data-color`, here’s how you would do that: diff --git a/docs/src/docPages/overview/installation.md b/docs/src/docPages/overview/installation.md index 940328e6e..92d76742d 100644 --- a/docs/src/docPages/overview/installation.md +++ b/docs/src/docPages/overview/installation.md @@ -49,6 +49,32 @@ Note that tiptap needs to run in the client, not on the server. It’s required [Read more](https://nuxtjs.org/api/components-client-only) +## Option 3: CDN + +To pull in tiptap for quick demos or just giving it a spin, grab the latest build via CDN: + +```html + + + + + + + +
+ + + +``` +