Javascript xampp中的Ckeditor

Javascript xampp中的Ckeditor,javascript,jquery,html,plugins,ckeditor,Javascript,Jquery,Html,Plugins,Ckeditor,我正在我的网站上使用ckeditor。 我的ckeditor文件夹中包含ckeditor.js文件,该文件与我的index.html位于同一目录中 我需要用xampp托管我的站点,因为我的php文件 Index.html <html> <head> <title>Responsive</title> <link rel="stylesheet" type="text/css" href="main.cs

我正在我的网站上使用ckeditor。
我的ckeditor文件夹中包含ckeditor.js文件,该文件与我的index.html位于同一目录中
我需要用xampp托管我的站点,因为我的php文件

Index.html

<html>
    <head>
        <title>Responsive</title>
        <link rel="stylesheet" type="text/css" href="main.css">
        <script src="ckeditor/ckeditor.js"></script>
    </head>
<body>

<textarea rows="5" cols="50" id="editor"></textarea>

<script>
    CKEDITOR.replace("editor");
</script>

</body>
</html>    

反应敏捷的
CKEDITOR.replace(“编辑”);
在谷歌浏览器中
当我转到
http://localhost/index.html

并且在我离开时可见
file:///C:/xampp/htdocs/index.html


我得到了
ckeditor.js:835未捕获的类型错误:无法读取控制台中未定义的
错误的属性“button”


如何修复此问题?

console中有任何错误吗?浏览器开发工具网络中是否存在文件路径问题?ckeditor.js:835 Uncaught TypeError:无法读取未定义的属性“button”?我刚刚注意到这个问题只存在于控制台中的chromeany错误中?浏览器开发工具网络中是否存在文件路径问题?ckeditor.js:835 Uncaught TypeError:无法读取未定义的属性“button”?我刚刚注意到这个问题仅在chrome中存在