docs: update content

This commit is contained in:
Philipp Kühn
2021-05-06 18:41:22 +02:00
parent 21384fc7a6
commit 00d8958b72
49 changed files with 180 additions and 122 deletions

View File

@@ -4,7 +4,7 @@
<script>
import { Editor, EditorContent } from '@tiptap/vue-2'
import { defaultExtensions } from '@tiptap/starter-kit'
import StarterKit from '@tiptap/starter-kit'
export default {
components: {
@@ -20,7 +20,9 @@ export default {
mounted() {
this.editor = new Editor({
content: '<p>Hello World! 🌎️</p>',
extensions: defaultExtensions(),
extensions: [
StarterKit,
],
})
},