docs: update content

This commit is contained in:
Hans Pagel
2021-04-03 13:49:36 +02:00
parent f1dac9aaef
commit 0e6c79a761
2 changed files with 7 additions and 10 deletions

View File

@@ -3,7 +3,10 @@
</template>
<script>
// Option 1: Browser + server-side
import { generateHTML } from '@tiptap/html'
// Option 2: Browser-only (lightweight)
// import { generateHTML } from '@tiptap/core'
import Document from '@tiptap/extension-document'
import Paragraph from '@tiptap/extension-paragraph'
import Text from '@tiptap/extension-text'
@@ -45,6 +48,7 @@ export default {
Paragraph,
Text,
Bold,
// other extensions …
])
},
}