Fix copy link (#5467)

This commit is contained in:
Kristina
2024-04-25 21:27:04 +07:00
committed by GitHub
parent eb2daac725
commit 1e71183c78
@@ -49,7 +49,7 @@
{:else if mark.type === MarkupMarkType.em}
<em><slot /></em>
{: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 />
</a>
{:else if mark.type === MarkupMarkType.strike}