JSFiddle - React, Tailwind, and code Playground
by chridam
HTML
<h3 class="page-title">
First Path <small>Sub Path</small>
</h3>
JavaScript
//$("h3").contents().filter(function(){ return this.nodeType == 3; }).first().replaceWith("Changed Path");
var tmp=$("h3.page-title").html();
console.log(tmp);
$("h3.page-title").("its thursday").append(tmp);