ckeditor放在放在服务器目录里,用localhost的方式打开,调用不了,
后面试用ueditor,kindeditor,都是同要样的问题,报错 ** is undefine
但是用niceditor,是好的,不知道为什么?
回复讨论(解决方案) 路径问题。。。
路径问题。。。
谢谢你的回答,但是应该不是路径问题,因为直接点击打开是可以的,只是放在localhost里面,用apache的方式访问就出问题。 描述得糊里糊涂的,“用apache的方式访问” 是指什么? url地址是什么?
另外,贴出完整的错误信息以供分析。
http://localhost/ckeditor/samples/replacebycode.html
用这个地址打开有问题,google浏览器下出现错误信息如下:
uncaught syntaxerror: unexpected token ; ckeditor.js:156
uncaught referenceerror: ckeditor is not defined
描述得糊里糊涂的,“用apache的方式访问” 是指什么? url地址是什么?
另外,贴出完整的错误信息以供分析。
http://localhost/ckeditor/samples/replacebycode.html
用这个地址打开有问题,google浏览器下出现错误信息如下:
uncaught syntaxerror: unexpected token ; ckeditor.js:156
uncaught referenceerror: ckeditor is not defined 这是有问题的,地址栏是:http://localhost/ckeditor/samples/replacebycode.html
这是没问题的,地址栏是:e:\wamp\www\ckeditor\samples\replacebycode.html