ewebeditor 飞鱼修改版 内容为空时tomcat关闭解决方法:
查找ewebeditor以下目录文件:
include/editor.js打开后转至第 436 行,或查找如下字符串:
if ((html.toLowerCase()=="<p> </p>")||(html.toLowerCase()=="<p></p>")){
将以下内容:if ((html.toLowerCase()=="<p> </p>")||(html.toLowerCase()=="<p></p>")){ html = "";}
替换为:if (html=="") { html = " ";}
注意:第二行赋值语句 html = " "; 中的引号内至少要有一个空格。
本文介绍了解决ewebeditor飞鱼修改版在内容为空时导致Tomcat服务器关闭的问题。通过修改editor.js文件中特定代码段,确保编辑器内容为空时不会触发异常,从而避免了服务器意外关闭。
424

被折叠的 条评论
为什么被折叠?



