JSFiddle - React, Tailwind, and code Playground

HTML

<cite>
    text here...
    <a id="target_element">link</a>
</cite>

JavaScript

alert($("#target_element").parent().contents().filter(function(){ return this.nodeType == 3; }).text())