JSFiddle - React, Tailwind, and code Playground

HTML

<p id = "pid">testing new a table</p>

JavaScript

$('#id').contents().unwrap();