DokuwikiFCK is no longer being supported.
It has been superceded by fckgLite and ckgedit.
All questions, bug fixes, and feature requests should go through the mailing list. To subscribe to the list, do one of the following:

1. Send an email to with 'subscribe' in the Subject field
2. Visit the fckgLite page at
3. Or click the subscribe link below


Note: Editor Switching is no longer supported. It will still work in the versions listed below but any versions after the last of these will not have the most recent updates.

Editor Switching

Normally, ckgEdit and fckgLite cannot both be installed and active at the same time. But these two enhanced versions enable editor switching, so that it is possible for both editors to be installed and active. This is not available, however, for Internet Explorer.


In order to create the conditions for editor switching, a drop-down menu is installed, with three options:

This makes it possible to switch not only between fckgLite and ckgEdit but also to the native Dokuwiki editor. Once selected, the chosen editor will remain in effect until changed. The editor defaults to fckgLite.

First, download and install both of the above distributions.

Then, in the template's main.php, you must include the file which contains both the javascript and the php which creates and activates this list. The file is included in the scripts directory of the ckgEdit distribution, and it should best be included in the head section of main.php.

    if(file_exists(DOKU_PLUGIN .'ckgedit/scripts/switch_tpl.php')) {
         include(DOKU_PLUGIN .'ckgedit/scripts/switch_tpl.php');

To create the drop-down menu, add this code, where you want the menu to appear:

  <?php if( function_exists ('tpl_ckgEditSwitch')) tpl_ckgEditSwitch()?>

In the default template this can be in the top menu bar:

     <div class="bar-right" id="bar__topright">
        <?php if( function_exists ('tpl_ckgEditSwitch')) tpl_ckgEditSwitch()?>
        <?php tpl_button('recent')?>
        <?php tpl_searchform()?>        

In the new dokuwiki template, it can be in top_header.php at the end of the action link list:

       tpl_action('admin', 1, 'li');
       tpl_action('profile', 1, 'li');
       tpl_action('register', 1, 'li');
       tpl_action('login', 1, 'li');
       if( function_exists ('tpl_ckgEditSwitch')) tpl_ckgEditSwitch();

The drop-down list is assigned a css class: ckg_switch. The makes it possible to add styling to the drop-down box. In the default template, the default border works well:

.ckg_switch {
     border: 1px solid __border__;