export function getLinkMarkupFromRange(range) { let {headMarker, tailMarker} = range; if (headMarker && (headMarker === tailMarker || headMarker.next === tailMarker)) { return tailMarker.markups.findBy('tagName', 'a'); } }