Skip to content

Commit

Permalink
Merge pull request #1 from nhn/master
Browse files Browse the repository at this point in the history
fix: link mark no longer building with misnamed getCustomAttrs (nhn#2729)
  • Loading branch information
ftassy authored Sep 27, 2022
2 parents 6d469c8 + d543b59 commit 72b9f8e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/editor/src/wysiwyg/marks/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ export class Link extends Mark {
attrs.rawHTML || 'a',
{
href: escapeXml(attrs.linkUrl),
// @ts-ignore
...(this.linkAttributes as DOMOutputSpec),
...this.linkAttributes,
...getCustomAttrs(attrs),
},
],
Expand Down

0 comments on commit 72b9f8e

Please sign in to comment.