It's better when it's simple

User Tools

Site Tools


fckg Plugin

Compatible with DokuWiki

2009-02-14, lemming, anteater, rincewind, angua, adora belle, weatherwax, binky,"ponder stibbons", Hrun, Detritus

plugin WYSIWYG editor. JavaScript Front end to FCKeditor

Last updated on
Conflicts with
aceeditor, ckgedit, comment, creole, data, data-au, mathjax, quickedit, tagentry, lisps, yalist

The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on Recommended are public repository hosts like GitHub, GitLab or Bitbucket.

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

The following security issue was reported for this extension: The plugin contains multiple severe vulnerabilities (including remote code execution). Author has been informed 2015-11-27

It is not recommended to use this extension until this issue was fixed. Extension authors should read the plugin security guidelines

Similar to fckw, grensladawritezor, prosemirror, wysiwyg, wysiwyg_nicedit

Tagged with !discontinued, editing, editor, wysiwyg

Please Note

:!: fckgLite is no longer supported. Use ckgedit.

fckgLite (or fckg)

fckgLite is a Javascript implementation of the FCKeditor for DokuWiki. It is “Lite” only historically, from a time when it was being developed as an experimental alternative to the now discontinued DokuWikiFCK.

Download and Installation

Important Note
If you are using a version of Dokuwiki dated before April 2011 (Anteater or earlier), do not use the plugin manager's deletion function when upgrading to a new version of fckgLite. It will delete the media directory.

Alternate savedir setting

You can get the documentation for this on the ckgedit plugin page: alternate_save_directory.


fckgLite comes with two security models, both compatible with Dokuwiki's management of images and links. For a complete discussion of security in the fckgLite filebrowser and the latest security enhancements see the fckgLite web site. You can also check the README document that comes with fckgLite distributions.


fckgLite has an extensive web site. It covers the editor's many features, its configuration and integration with Dokuwiki, and issues in editing. There are very good finding aids, including a complete listing of all topics and a Dokuwiki Search box dedicated to the documentation.

There have been approximately 70,000 downloads of fckgLite from more than 24,000 unique IP addresses1). Over half of these downloads originate from this page, but it would be worth the effort to visit the web site and to become familiar with its facilities. There are manuals available both as ebook and pdf created from the web site's documentation:

There are several excellent ebook readers both stand-alone and plugins for Firefox and IE. See the epub Plugin for information on readers.

Direct Button to Dokuwiki Editor

When fckgLite is installed fckgLite becomes the default editor and users will have to switch over the to native Dokuwiki editor from a button found in the fckgLite editor window. If you would like to give users a choice of using the Dokuwiki editor without having to first open the fckgLite eidtor, put the following button at the bottom and/or top of main.php in one of the button bar divs.

<?php global $ID; $action = DOKU_REL . "doku.php?id=$ID"; ?>
 <form class="button btn_edit" method="post" action="<?php echo $action ?>">
<div class="no">
<input type="hidden" name="do" value="edit" />
<input type="hidden" name="rev" value="" />
<input type="hidden" name="mode" value="dwiki" />
<input type="hidden" name="fck_preview_mode" value="nil" />
<input type="submit" value="DW Edit" class="button" />

This code will create an action link:

<a href="doku.php?id=<?php global $ID; echo $ID;?>&amp;do=edit&mode=dwiki&fck_preview_mode=nil"
       class="action edit" rel="nofollow" title="DW Edit">DW Edit</a>

It can be inserted into either tpl_header.php in the Page Tools section or in main.php at a convient location. It can be used in any template.

If you are using the Dokuwiki template, below is a preferred solution. It is a user-contributed plugin to insert an action link automatically into the Page Tools of the Dokuwiki template. An important benefit of the plugin is that it is independent of the template files, making it unnecessary to re-edit them with each upgrade.

 * Action adding DW Edit button to page tools (useful with fckedit)
 * @author     Anonymous
 * @author     Kamil Demecki <>
if (!defined('DOKU_INC')) 
class action_plugin_dwedit extends DokuWiki_Action_Plugin
    function register(&$controller)
        $controller->register_hook('TEMPLATE_PAGETOOLS_DISPLAY', 'BEFORE', $this, 'dwedit_action_link');
    function dwedit_action_link(&$event, $param)
        if (!$_SERVER['REMOTE_USER']) 
        global $ID;
        $event->data['items']['dw_edit'] = '<li><a href="doku.php?id=' . $ID . '&do=edit&mode=dwiki&fck_preview_mode=nil" ' . 'class="action edit" rel="nofollow" title="DW Edit"><span>DW Edit</span></a></li>';
Stopped counting June 2014
plugin/fckg.txt · Last modified: 2019-03-19 16:54 by turnermm