code style fixes

This commit is contained in:
Димитър Илков
2020-02-28 11:25:08 +02:00
committed by GitHub
parent 03980a95e1
commit da0ef2ff3a

View File

@@ -22,7 +22,7 @@ export default class Link extends Mark {
default: null, default: null,
}, },
target: { target: {
default: null default: null,
}, },
}, },
inclusive: false, inclusive: false,
@@ -38,7 +38,7 @@ export default class Link extends Mark {
toDOM: node => ['a', { toDOM: node => ['a', {
...node.attrs, ...node.attrs,
rel: 'noopener noreferrer nofollow', rel: 'noopener noreferrer nofollow',
target : this.options.target, target: this.options.target,
}, 0], }, 0],
} }
} }