You are here

ckeditor.inc in elFinder file manager 6.2

CKeditor integration plugin

File

editors/ckeditor/ckeditor.inc
View source
<?php

// $Id$

/**
 * @file
 * CKeditor integration plugin
 */

/**
 * Pseudo-hook for elfinder hook_wysiwyg_plugin implementation
 */
function elfinder_ckeditor_elfinder_editor_plugin($options) {
  return array(
    'elfinder' => array(
      'extensions' => array(
        'elfinder' => t('elFinder'),
      ),
      'url' => $options['homepage_url'],
      'options' => array(
        'filebrowserBrowseUrl' => $options['elfinder_url'],
        'filebrowserUploadUrl' => url('elfinder/upload/ckeditor'),
        'filebrowserImageUploadUrl' => url('elfinder/upload/ckeditor'),
        'filebrowserFlashUploadUrl' => url('elfinder/upload/ckeditor'),
      ),
      'load' => FALSE,
    ),
  );
}

Functions

Namesort descending Description
elfinder_ckeditor_elfinder_editor_plugin Pseudo-hook for elfinder hook_wysiwyg_plugin implementation