Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/262.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与Wordpress结合使用,并让客户端编辑内容?_Javascript_Php_Wordpress_Ckeditor - Fatal编程技术网

Javascript 如何将CKEditor与Wordpress结合使用,并让客户端编辑内容?

Javascript 如何将CKEditor与Wordpress结合使用,并让客户端编辑内容?,javascript,php,wordpress,ckeditor,Javascript,Php,Wordpress,Ckeditor,我是一个在编码方面很有经验的设计师,我正在尝试将CKEditor与Wordpress集成,因为我的客户可以让他们直接在页面上编辑文本 这能实现吗?我已经在Wordpress安装中安装了CKEditor,它正在工作。但它允许非登录用户更改内容 大概是这样的: <h1>Massive inline editing</h1>             <div id="container" style="border: 1px solid blue;width: 700px

我是一个在编码方面很有经验的设计师,我正在尝试将CKEditor与Wordpress集成,因为我的客户可以让他们直接在页面上编辑文本

这能实现吗?我已经在Wordpress安装中安装了CKEditor,它正在工作。但它允许非登录用户更改内容

大概是这样的:

<h1>Massive inline editing</h1>
      
     <div id="container" style="border: 1px solid blue;width: 700px; display:inline-block;padding:5px;">
      
          <h1 contenteditable="true" style="border:1px solid green;">My Client Website</h1>
          
          <div style="border: 1px solid red; float: left;width: 300px;" contenteditable="true">Div that my clients can edit when logged in their Wordpress Account.            
          </div>
          
          <div style="border: 1px solid red; float: right;width: 350px;" contenteditable="false">
             div with contenteditable='false' <br><br>
             Hello <b>CKEditor</b> ...            
          </div>
                      
      </div>
大规模内联编辑
      
     
      
我的客户网站
          
我的客户在登录Wordpress帐户时可以编辑的Div
          
          
          
带有contenteditable='false'的div

你好,编辑                                         

您是否有理由希望编辑您的评论?还有其他插件为评论者提供富文本编辑器。请参阅:我不想在我的评论中使用CKEditor。我想要一种让我的客户编辑页面内容的方法。你在这方面可能会有更好的运气。