For all testers - here are my current editor test integration files for tinymce, fckeditor, Xinha (and htmlarea):
http://korpelainen.net/editors.zip
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
lib/editor/tinymce
lib/editor/fckeditor
lib/editor/Xinha
2) Edit lib/weblib.php, delete functions
function print_textarea
function use_html_editor
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
standard
htmlarea (it's the same as standard theme)
tinymce
fckeditor
Xinha
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.)
Done!
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.
When I started testing these editors I noticed that IE had some conflicts with overlib.js so I copied it and file javascript.php from moodle 1.8 lib folder to moodle 1.9 but I haven't tested yet where that problem came from. There may be some small changes that you may need to to - at least private messages need some fix (I have not had time to check it) Original skins of editors have some css that should be located to meta.php (IE6/IE7 css), javascripts I have included to meta.php could be placed to files like myconfig.js to make themes xhtml valid, themes css and editors configuration should be edited, language files should be added and Xinha's integration is not fully functional. I have also tested YUI RTE but it's not "ready".
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