不管怎么配置总是不行。。本地打开没有问题 通过http的方式死活打不开
说是在实例化的页面加上下面这行也不行
<script type="text/javascript"> window.UEDITOR_HOME_URL="D:/web/wamp/www/TaoLi/new_faq/include/ueditor"; </script>假设网站根目录为 D:/web/wamp/www/ueditor的目录为 D:/web/wamp/www/TaoLi/new_faq/include/ueditor实例化的页面为D:\web\wamp\www\TaoLi\new_faq\application\view\default\test.htmlueditor的配置文件中的路径为
URL=window.UEDITOR_HOME_URL||tmp.substr(0,tmp.lastIndexOf("\/")+1).replace("default/","").replace("application/","").replace("view/","")+"include/ueditor/";不懂js的菜鸟求助啊。。
说是在实例化的页面加上下面这行也不行
<script type="text/javascript"> window.UEDITOR_HOME_URL="D:/web/wamp/www/TaoLi/new_faq/include/ueditor"; </script>假设网站根目录为 D:/web/wamp/www/ueditor的目录为 D:/web/wamp/www/TaoLi/new_faq/include/ueditor实例化的页面为D:\web\wamp\www\TaoLi\new_faq\application\view\default\test.htmlueditor的配置文件中的路径为
URL=window.UEDITOR_HOME_URL||tmp.substr(0,tmp.lastIndexOf("\/")+1).replace("default/","").replace("application/","").replace("view/","")+"include/ueditor/";不懂js的菜鸟求助啊。。
看看这个http://www.1990c.com/?p=355
难道是apache的问题?
如:web建在 d:\www\下, udeitor在 d:\www\ueditor\下 就直接:
URL = "/ueditor/";