PHP code example of satsume / ckeditor-module

1. Go to this page and download the library: Download satsume/ckeditor-module library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

satsume / ckeditor-module example snippets


$this->add(array(
  'type' => 'CKEditorModule\Form\Element\CKEditor',
  'name' => 'editor',
  'options' => array(
    'label' => 'Editor content',
    'ckeditor' => array(
		// add anny config you would normaly add via CKEDITOR.editorConfig
        'language' => 'nl',
        'uiColor' => '#AADC6E',
    )
  ),
));

'ckeditor_ckfinder_options' => array(
  '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',
  'filebrowserWindowWidth' => '1000',
  'filebrowserWindowHeight' => '700'
),
__construct()