PERF: Pass element to resolveAllShortUrl function, not text selector (PR #9988)

We already have a reference to the preview element, so there is no need to look it up again. This saves about 1ms per keypress in my testing.

GitHub