tr.addMark() creates a non clickable link

The generated link related dom element looks fine although : `

< a href=“google.com”>google.com

But it’s not working.

Why ?

I even tried to add an onclick attribute to the link schema’s mark and i attached a function to it but it’s still not working too.

I thought a link in the dom should work by default! `

Links in contenteditable content don’t get followed on click, so that you can place your cursor inside of them. (Right-click should work.)

1 Like