Ueditor或者CKeditor中的内容再次编辑时,内容中如果有HTML标签,显示不一致问题!
如果内容中中有<a href="">xx</a>这些html标签时,再次显示的时候就不见了。以下是我的操作步骤:
1、在form中提交textarea的数据
2、数据保存到数据库中。
3、读取数据库数据出来再次显示在编辑器中。(显示不正确)
。。。。。。。。
以下是显示的关键代码:
// js中加载的代码,在html中最后一句
var ue = UE.getEditor('content');
//
<textarea id="content" name="content" rows="40" cols="100">${article.content }</textarea>