Tinymce возвращает текст и HTML

const html = <p><strong>fgkjhgh</strong></p>\n<p><em>fgfghfgh</em></p>\n<p>gfbfg</p>\n<p>ghfgh fgf</p>"

let plainText = html.replace(/<[^>]*>/g, "");
 console.log(plainText) // plainText= "fgkjhgh fgfghfgh gfbfg ghfgh fgf"
Grieving Gharial