update content

This commit is contained in:
Hans Pagel
2020-11-13 10:51:53 +01:00
parent 6d73e60bfb
commit 813575850c
6 changed files with 23 additions and 30 deletions

View File

@@ -18,12 +18,6 @@ import Paragraph from '@tiptap/extension-paragraph'
import Text from '@tiptap/extension-text'
import Link from '@tiptap/extension-link'
const CustomLink = Link.extend({
renderHTML({ attributes }) {
return ['strong', mergeAttributes(attributes, { rel: this.options.rel }), 0]
},
})
export default {
components: {
EditorContent,
@@ -41,7 +35,7 @@ export default {
Document(),
Paragraph(),
Text(),
CustomLink(),
Link(),
],
content: `
<p>

View File

@@ -1,3 +0,0 @@
# Full Editor
<demo name="Examples/FullEditor" />

View File

@@ -0,0 +1,3 @@
# Use v-model
<demo name="Examples/VModel" />

View File

@@ -22,7 +22,6 @@
link: /examples/formatting
- title: Links
link: /examples/links
draft: true
- title: Todo App
link: /examples/todo-app
- title: Read-only
@@ -31,8 +30,8 @@
link: /examples/minimalist
- title: Export HTML or JSON
link: /examples/export-html-or-json
- title: Full Editor
link: /examples/full-editor
- title: Use v-model
link: /examples/v-model
draft: true
- title: Share feedback
link: /overview/feedback