From d543b59bedde38cd4e289ab5681d7f55ca5d1e28 Mon Sep 17 00:00:00 2001 From: Jethro Larson Date: Mon, 26 Sep 2022 01:00:36 -0700 Subject: [PATCH] fix: link mark no longer building with misnamed getCustomAttrs (#2729) Co-authored-by: Jethro Larson --- apps/editor/src/wysiwyg/marks/link.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/editor/src/wysiwyg/marks/link.ts b/apps/editor/src/wysiwyg/marks/link.ts index 32b05f818b..27ceeba4ec 100644 --- a/apps/editor/src/wysiwyg/marks/link.ts +++ b/apps/editor/src/wysiwyg/marks/link.ts @@ -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), }, ],