百度编辑器UEditor超出最大字数后不能完整保存解决方法
查阅很多资料,AB模版网总结解决方法如下:
第I.步:在/include/ueditor/ueditor.all.js中找到这两行注释掉
更多精彩就在: 51免费论文网|www.jxszl.com
countDom.innerHTML=errMsg;
editor.fireEvent(wordcountoverflow")
第II步:在注释点的两行下面写上这III行就搞定了
varcontent=editor.getContentTxt();
editor.setContent(content.substring(0,max));
editor.focus(true);
原文链接:http://www.jxszl.com/biancheng/dedecms/74781.html