Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/381.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript CKeditor未在chrome中加载_Javascript_Ckeditor - Fatal编程技术网

Javascript CKeditor未在chrome中加载

Javascript CKeditor未在chrome中加载,javascript,ckeditor,Javascript,Ckeditor,我试图在我的laravel项目中实现CKeditor wysiwig。 我的配置看起来像: <html> <head> <script src="/js/jquery.js"></script> </head> <body> {!! Form::label('text', 'Bericht') !!} //Generates textarea with class ckeditorArea {!!

我试图在我的laravel项目中实现CKeditor wysiwig。 我的配置看起来像:

<html>
 <head>
     <script src="/js/jquery.js"></script>
 </head>
 <body>
  {!! Form::label('text', 'Bericht') !!}
  //Generates textarea with class ckeditorArea
  {!! Form::textarea('text', null, ['class' => 'form-control ckeditorArea'])!!}
 </body>

  <script src="/plugin/ckeditor/ckeditor.js"></script>
  <script src="/js/functions.js"></script>
  <!-- Bootstrap Core JavaScript -->
  <script src="/js/bootstrap.min.js"></script>

  <script>
      // Replace the <textarea class="ckeditorArea"> with a CKEditor
      // instance, using default configuration.
      CKEDITOR.replaceClass = 'ckeditorArea';
  </script>
</html>

{!!Form::label('text','Bericht')
//使用类ckeditorArea生成textarea
{!!Form::textarea('text',null,['class'=>'Form control ckeditorArea'])
//用一个编辑器替换
//实例,使用默认配置。
CKEDITOR.replaceClass='ckeditorArea';
所见即所得在Firefox和Internet Explorer中加载,但在chrome中不会加载

我清除了缓存,做了一次硬刷新,做了所有我能想象到的有帮助的事情

编辑 我用xampp在本地主机上开发

这似乎是jquerys的故障,我添加了jQueryCDN,它工作了一秒钟,而不是停止工作。我真的很绝望

使用127.0.0.1而不是localhost可以很好地工作,为什么不能使用localhost是最后一个问题