transformPasted event to return a new Slice with some custom nodes in it.
Such custom nodes load remote data to set attributes, so first i create them and
return them in the slice returned in the event subscriber, then load remote data,
then i think the right way to update them is:
pm.tr.replaceWith(pos, pos+1, schema.types.mynode.createAndFill(...)).apply()
But i don’t find how to get a node position. Is there some way i overlooked in the 0.9 reference ?