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>