diff --git a/src/layouts/EditPage/EditPage.tsx b/src/layouts/EditPage/EditPage.tsx index d7ccdd093..6f10f611f 100644 --- a/src/layouts/EditPage/EditPage.tsx +++ b/src/layouts/EditPage/EditPage.tsx @@ -180,7 +180,7 @@ export const EditPage = () => { .chain() .focus() .insertContent( - `${text}` + `${text}` ) .run() onHyperlinkModalClose() @@ -210,7 +210,7 @@ export const EditPage = () => { .chain() .focus() .insertContent( - `${ + `${ altText || "file" }` )