Pasting and serializing


I have a link mark. I copy the link in the browser “” and I paste it into the editor, in the simple paragraph, transformPasted is triggered for me, in which I mark my link text as the link mark.

But when I insert a link inside any node in which all marks are available, for some reason transformPasted does not work (as well as transformPastedText, transformPastedHTML, handlePaste), why can it be?

What do you mean by “insert a link”? Paste it? What is the difference between your simple paragraph and the other node where you cannot paste?

I figured it out. The problem is in NodeView, with stopEvent and ignoreMutation. Thanks!