google-code-export / gwt-ckeditor

Automatically exported from code.google.com/p/gwt-ckeditor
2 stars 0 forks source link

CKFinder integration/Add CKConfig parameter #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi all,

is there any way to combine CKFinder with gwt-CKEditor?
is there any solution?Do you know?

http://ckfinder.com/

Original issue reported on code.google.com by harunate...@gmail.com on 23 Sep 2010 at 6:59

Attachments:

GoogleCodeExporter commented 9 years ago
According to : 
http://docs.cksource.com/CKFinder_2.x/Developers_Guide/PHP/CKEditor_Integration#
JavaScript

You just have to fill in some parameters to CKEditor config :
 CKEDITOR.replace( 'editor1',
 {
    filebrowserBrowseUrl : '/ckfinder/ckfinder.html',
    filebrowserImageBrowseUrl : '/ckfinder/ckfinder.html?type=Images',
    filebrowserFlashBrowseUrl : '/ckfinder/ckfinder.html?type=Flash',
    filebrowserUploadUrl : '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
    filebrowserImageUploadUrl : '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
    filebrowserFlashUploadUrl : '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash'
 } 

Then, with gwt-ckeditor, you can define these settings with :

CKConfig config = new CKConfig();
config.setFileBrowserBrowseUrl("/ckfinder/ckfinder.html");
...

And CKFinder will be integrated. But I think that some parameters can't 
currently be defined in CKConfig. You can easily add them by editing CKConfig 
source code.

Original comment by picard.d...@gmail.com on 23 Sep 2010 at 7:58

GoogleCodeExporter commented 9 years ago
We will add every parameter needed asap.

Add these parameters to CKConfig :

filebrowserFlashBrowseUrl
filebrowserUploadUrl
filebrowserImageUploadUrl
filebrowserFlashUploadUrl

Original comment by picard.d...@gmail.com on 23 Sep 2010 at 8:04

GoogleCodeExporter commented 9 years ago

Original comment by picard.d...@gmail.com on 11 Dec 2010 at 7:41