diff --git a/packages/tiptap-extensions/src/marks/Link.js b/packages/tiptap-extensions/src/marks/Link.js index 74a2bcc8a..446ba716d 100644 --- a/packages/tiptap-extensions/src/marks/Link.js +++ b/packages/tiptap-extensions/src/marks/Link.js @@ -38,7 +38,7 @@ export default class Link extends Mark { toDOM: node => ['a', { ...node.attrs, rel: 'noopener noreferrer nofollow', - target: this.options.target, + target: node.attrs.target || this.options.target, }, 0], } }