MindTouch Developer Center > Deki > FAQ > Editor > How do I...Switch to an alternate editor?

How do I...Switch to an alternate editor?

Table of contents
No headers

Note: This page is only relevant for later versions of MindTouch Deki 1.8.3, MindTouch Deki 1.9.0, and MindTouch Deki 8.05.

MindTouch Deki is currently in a transitioning phase with its WYSIWYG editors.  Although we ship the bits for these alternate editors, we have not turned them on by default. As of MindTouch Deki 8.05, the editors are ready to be tested (all functionality from Xinha (pronounced "Zē' na" like the Warrior Princess) has been ported over on production systems. There might be minor annoyances and bugs, but that's what this transition period is for! :)

You can easily switch to an alternate editor on your local MindTouch Deki by opening up LocalSettings.php and adding the appropriate following PHP code:

// Use the following variable name for later versions of MindTouch Deki 1.8.3 through 8.05.1 
$wgDefaultEditorEngine = 'FCKeditor';

// Use the following variable name for MindTouch Deki 8.05.2 and higher 
$wgDefaultEditor = 'FCKeditor';

or

// Use the following variable name for later versions of MindTouch Deki 1.8.3 through 8.05.1 
$wgDefaultEditorEngine = 'TinyMCE';

// Use the following variable name for MindTouch Deki 8.05.2 and higher 
$wgDefaultEditor = 'TinyMCE';

After setting this, remove all your UI cache files in skins/common/cache; these files are prefixed with cache-. This is important to do to ensure your users receive the new UI files!

To revert back to Xinha in MindTouch Deki versions prior to 8.05.2, simply remove this line and clear your cache folder.

Tag page
You must login to post a comment.
Powered by MindTouch Deki v.8.08.2