Rel cannot be set (#4112)

Without the addAttributes entry, passing the rel attribute doesn't work (tested in 2.0.3)
This commit is contained in:
Thomas Portelange 2023-07-07 15:18:02 +02:00 committed by GitHub
parent 6984ea11d7
commit 193b991acc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,6 +107,9 @@ export const Link = Mark.create<LinkOptions>({
target: {
default: this.options.HTMLAttributes.target,
},
rel: {
default: this.options.HTMLAttributes.rel,
},
class: {
default: this.options.HTMLAttributes.class,
},