Add textAnchor API