diff --git a/docs/src/demos/Examples/Book/index.vue b/docs/src/demos/Examples/Book/index.vue index 8d0848dcd..b8a4e5d83 100644 --- a/docs/src/demos/Examples/Book/index.vue +++ b/docs/src/demos/Examples/Book/index.vue @@ -71,7 +71,7 @@ diff --git a/docs/src/docPages/installation/livewire.md b/docs/src/docPages/installation/livewire.md index e5edb2cb1..f79ee51a1 100644 --- a/docs/src/docPages/installation/livewire.md +++ b/docs/src/docPages/installation/livewire.md @@ -40,8 +40,8 @@ TODO ## index.js ```js -import { Editor } from "@tiptap/core" -import { defaultExtensions } from "@tiptap/starter-kit" +import { Editor } from '@tiptap/core' +import StarterKit from '@tiptap/starter-kit' window.setupEditor = function (content) { return { @@ -51,7 +51,9 @@ window.setupEditor = function (content) { init(element) { this.editor = new Editor({ element: element, - extensions: defaultExtensions(), + extensions: [ + StarterKit, + ], content: this.content, onUpdate: ({ editor }) => { this.content = editor.getHTML() diff --git a/docs/src/docPages/installation/nuxt.md b/docs/src/docPages/installation/nuxt.md index e7a5f5c4c..e7a67c116 100644 --- a/docs/src/docPages/installation/nuxt.md +++ b/docs/src/docPages/installation/nuxt.md @@ -51,7 +51,7 @@ This is the fastest way to get tiptap up and running with Vue. It will give you