如何将 CKFinder 与 CKEditor 集成?
如何将 CKFinder 与新的 CKEditor 集成。
网站上的记录非常少,我实际上一无所获。
据我所知,如果有分步指南,我将不胜感激。对于所见即所得编辑器来说,这是唯一免费/良好的图像上传解决方案。有人可以确认吗?
谢谢
How do you integrate CKFinder with the new CKEditor.
It is very underdocumented on the website, and i am literally getting nowhere.
A step by step guide would be greatly appreciate as, as far as i am aware.. this is the only free/good image upload solution for a wysiwyg editor that is any good. Can someone confirm?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
首先,您必须有一个文本框来转换为 CKEditor:
然后您所需要的只是一些 javascript 代码,用于将此文本编辑器转换为 CKEditor 实例,并将此编辑器与 CKFinder 集成。
setupCKEditor
函数的第二个参数必须是您网站中上传 ckfinder 的文件夹。http://docs.cksource.com/CKFinder_2.x/Developers_Guide/PHP/CKEditor_Integration
First you must have a textbox to convert to CKEditor:
Then all you need is some javascript code for the conversion of this texteditor to a CKEditor instance and the integration of this editor with CKFinder.
The second parameter of the
setupCKEditor
function must be the folder in your website where you uploaded ckfinder.http://docs.cksource.com/CKFinder_2.x/Developers_Guide/PHP/CKEditor_Integration
检查您的服务器语言的文档站点:http://docs.cksource.com/CKFinder_2.x
例如 PHP 文档的这一部分: http://docs.cksource.com /CKFinder_2.x/Developers_Guide/PHP/CKEditor_Integration
顺便说一句,CKFinder 不是免费的,您必须获得许可证才能使用它。
Check the documentation site for your server language: http://docs.cksource.com/CKFinder_2.x
For example this part of the PHP docs: http://docs.cksource.com/CKFinder_2.x/Developers_Guide/PHP/CKEditor_Integration
And btw, CKFinder is not free, you must get a license in order to use it.
您可以在此处找到有关将 CKFinder 与 CKEditor 集成的教程:
http://www.webshaolin.com/index.php?page=article& ;articleid=40
You can find a tutorial on integrating CKFinder with CKEditor here:
http://www.webshaolin.com/index.php?page=article&articleid=40
尝试执行以下步骤。
1.下载CKEditor和CKFinder。集成代码可在 http://dwij.co.in/ckeditor- ckfinder-integration-using-php/
2. 将两者的提取代码放入 xampp 内的一个文件夹中,如下所示。
3. 创建索引文件 (index.html),其中将包含编辑器,如下代码。
因此您的文件夹结构将如下所示:
现在在 ckfinder & 中打开文件 config.php;进行以下更改:
http://localhost/integrated/
并尝试上传图像。Try doing following steps.
1. Download CKEditor and CKFinder. Integrated code may be available on http://dwij.co.in/ckeditor-ckfinder-integration-using-php/
2. Put extracted code of both in one folder inside xampp as below.
3. Create index file (index.html) which will be containing the editor as below code.
so your folder structure will be something like this:
Now open file config.php inside ckfinder & make following changes:
http://localhost/integrated/
and try uploading image.