Baidu's ueditor will automatically add P tags to the content. How to remove it? Nothing you can find online
Use jq, if you want to remove them all:
$("p").each(function(){
var xx=$(this).html();
$(this).replaceWith(xx);
})
There is a corresponding method to obtain plain text: ueditor.getContentTxt()
The demo shows commonly used methods.