当我试图添加这样的文本时,使用tinymce

保存后,输出是
pthis is my test editorp 但它的原文是
this is my test editor标记P在将数据保存到mysql数据库期间自动添加到我现有的文本中。我怎样才能去掉这个标签P?
发布于 2018-04-18 12:18:27
尝试使用以下代码。希望它能成功。
tinymce.init({
mode:'textareas',
editor_selector : "mceEditor",
editor_deselector : "mceNoEditor",
force_br_newlines : false,
force_p_newlines : false,
forced_root_block : ''
});https://stackoverflow.com/questions/49899350
复制相似问题