JSFiddle - React, Tailwind, and code Playground

by csornmo

HTML

<div class="text">
<br>text<br>
</div>

JavaScript

console.log( $('.text').html() );