Fix copy link (#5467)

This commit is contained in:
Kristina 2024-04-25 18:27:04 +04:00 committed by GitHub
parent eb2daac725
commit 1e71183c78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,7 +49,7 @@
{:else if mark.type === MarkupMarkType.em} {:else if mark.type === MarkupMarkType.em}
<em><slot /></em> <em><slot /></em>
{:else if mark.type === MarkupMarkType.link} {:else if mark.type === MarkupMarkType.link}
<a href={attrs.href} target={attrs.target} on:click={handleLink}> <a href={attrs.href} target={attrs.target} on:click={handleLink} on:contextmenu|stopPropagation>
<slot /> <slot />
</a> </a>
{:else if mark.type === MarkupMarkType.strike} {:else if mark.type === MarkupMarkType.strike}