Skip to content

Commit

Permalink
fix: link mark no longer building with misnamed getCustomAttrs (#2729)
Browse files Browse the repository at this point in the history
Co-authored-by: Jethro Larson <jethro.larson@tableau.com>
  • Loading branch information
jethrolarson and Jethro Larson authored Sep 26, 2022
1 parent 06355b6 commit d543b59
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 d543b59

Please sign in to comment.