create link when mousedown in linkmode