For all testers - here are my current editor test integration files for tinymce, fckeditor, Xinha (and htmlarea):
I haven't included skins, plugins, selection block + drop down list and other stuff I have been testing because they need still improvement but I will share them later. One brand new theme for younger students with double size editor buttons and some extra features is almost ready... These integration files are no way ment to be perfect but they make testing easier for other persons than just me or Marc -
1) Download the latest versions of editors and unzip them to folders
2) Edit lib/weblib.php, delete functions
Be carefull - this is the most important part !!!
3) Check that your moodle has use HTML editor selected and change your theme to standard theme. Copy following themes
htmlarea (it's the same as standard theme)
to theme folder (These are 1.9 standard themes but work ok in moodle 1.8 too. I have added modified functions print_textarea and use_html_editor + all header tags to meta.php except FCKeditor has also body onload tag in header.html - Actually you would need only files meta.php + header.html for fckeditor. You may also take the code from meta.php and paste functions to weblib.php + other scripts to theme head tags if you like.)
Default editor is now htmlarea and functions in meta.php of themes standard and htmlarea are the same as in normal weblib.php. All old themes will have the default editor unless you have set values
$THEME->metainclude = true;
$THEME->standardmetainclude = false;
$THEME->parentmetainclude = false;
to your theme config.php
In that case replace meta.php with standard, tinymce, FCKeditor or Xinha meta.php
If you want to change tinymce to default editor you just need to copy meta.php from theme tinymce to theme folder standard.
I have tested two selection systems: first I set session themes on by adding $CFG->allowthemechangeonurl = true; to site config.php and wrote a block that is visible for teachers and admins only, set theme list ("allowed themes") from administration menu to prevent students and guests seeing all themes because my test site has user themes and course themes on. The second trial was to write an "automatic drop down" list script that reads folder names from lib/editor folder and makes a theme selection list from those folder names. If I need some other modified editors (=themes) I just add empty folders to folder lib/editor. The next idea was to use different names for meta.php files like meta1.php, meta2.php... and use php to select editor meta.php from selection list or place meta code to database. The only problem is that I had to use body onload for FCKeditor (it should be possible to change this) anf YUI RTE has also body tags.
The example code of tinymce is using tiny_mce_gzip.js (TinyMCE compressor), remember to download it (and language files) with tinymce package from http://tinymce.moxiecode.com/download.php. FCKEditor is found from http://www.fckeditor.net/download and Xinha from http://xinha.webfactional.com/wiki/DownloadsPage