update content
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
# Full Editor
|
||||
|
||||
<demo name="Examples/FullEditor" />
|
||||
3
docs/src/docPages/examples/v-model.md
Normal file
3
docs/src/docPages/examples/v-model.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Use v-model
|
||||
|
||||
<demo name="Examples/VModel" />
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user