From f0b363c4754cc772fa66a86338e3c03d43ac7b7b Mon Sep 17 00:00:00 2001 From: Ahmet Enes Duruer Date: Mon, 6 Dec 2021 22:03:49 +0100 Subject: [PATCH] docs: remove wrong `type="context"` tag (#2240) This example doesn't compile because in Svelte 3 there is no `type="context"`, there is only `context="module". Even if you use `context="module"` it is supposed to give an error because there is no `onMount` and `onDestroy` in module context. Removing this tag from the Script element will fix the issue. --- docs/installation/svelte.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation/svelte.md b/docs/installation/svelte.md index 2edce8a28..13be7c5cc 100644 --- a/docs/installation/svelte.md +++ b/docs/installation/svelte.md @@ -43,7 +43,7 @@ To actually start using Tiptap, you’ll need to add a new component to your app This is the fastest way to get Tiptap up and running with SvelteKit. It will give you a very basic version of Tiptap, without any buttons. No worries, you will be able to add more functionality soon. ```html -