0

How can you integrate a custom file browser/uploader with CKEditor?

after read the answer, i still don't know which file in ckeditor package should put the code in ? expect someone can explian it. thank you.

Community
  • 1
  • 1
enjoylife
  • 5,015
  • 7
  • 29
  • 33

1 Answers1

0

the config file.. config.filebrowserBrowseUrl = 'FileBrowser/'; point it to the finder thing

CKEDITOR.editorConfig = function( config ){
config.forcePasteAsPlainText = true;
config.enterMode = CKEDITOR.ENTER_P;
config.shiftEnterMode = CKEDITOR.ENTER_BR;
**config.filebrowserBrowseUrl = 'FileBrowser/';**
config.filebrowserWindowWidth = '950';
config.filebrowserWindowHeight = '480';
config.templates_files = [
    'ckeditor/templates/site.js',
];
config.language = "en";

};

just put the path of the file browser in.. ckfinder etc

WilliamStam
  • 254
  • 2
  • 13