remove useless nodeview for links

This commit is contained in:
Philipp Kühn 2018-09-23 08:11:20 +02:00
parent caa9763884
commit f8e79f14b1

View File

@ -7,20 +7,6 @@ export default class LinkMark extends Mark {
return 'link'
}
get view() {
return {
props: ['node'],
methods: {
onClick() {
console.log('click on link')
},
},
template: `
<a :href="node.attrs.href" rel="noopener noreferrer nofollow" ref="content" @click="onClick"></a>
`,
}
}
get schema() {
return {
attrs: {