DOKSoft software store

CKUtils - plugins bundle for CKEditor

 
Image
Preview
File
Table
Bundle
Multisite
 
 
 
Features
Installation
Customizing
Licensing
 
 
 
   

CKUtils Bundle Customizing

 

I. Preview Customizing

This plugin has some configurable parameters:

  1. You can configure both size and quality of the previews. Insert this code (in accordance with the default parameters) into `path-to-ckfinder/config.php` and change the values:
    $config['Plugin_Thumbs'] = Array(
       'maxWidth' => 200,
       'maxHeight' => 140,
       'quality' => 80
    );

     
  2. You can change the class of a preview link in a document by changing the corresponding parameter in `path-to-ckfinder/config.js`:
    config.smallimgHrefClass = 'gallerypic';
    For example, this default code will wrap preview in <a> links with class `gallerypic`:

    Customizing preview wrap class screenshot
     
  3. You can configure the class of a preview wrapper by adding CSS global document (or modifying the existing one) with a class description. For example, you can add a picture border to all image previews by adding this code:
    .gallerypic img {
       background-color: black;
       padding: 15px 15px 25px 15px;
    }

    In HTML document it will look like this:

    Customize wrapper class preferences screenshot

 

II. CKUtils File customizing

This plugin enables changing the parameter of a download icon.
In order to change it, replace `path-to-ckeditor/plugins/doksoft_file/doksoft_file_download.png` with your own image.

 
 

Plugins are available for installation only after purchase. Apart from this bundle, you can buy CKUtils Multisite Plugins Bundle and install the products on an unlimited number of servers.