
$Date: 2009-07-22 14:23:45 +0300 $

This package contains a patch for Moodle 1.9 stable which adds TinyMCE 3, as an 
alternative WYSIWYG editor. You may want to see:

  http://www.moodle.org and
  http://tinymce.moxiecode.com

Patch authors:
  Martin Langhoff - http://moodle.org/user/view.php?id=13727&course=5
  Mihai Sucan - http://www.robodesign.ro/mihai

This patch was originally made by Martin Langhoff around october 2008. For more 
details please see:

http://moodle.org/mod/forum/discuss.php?d=107550

I have updated the patch to the latest Moodle 1.9 stable branch. I updated 
TinyMCE to the latest version, and I have fixed a bug in Moodle which didn't 
allow the HTML editor to show in Opera, Safari and Chrome.

I also fixed some issues in the create_langfiles.php script in the TinyMCE 
folder, issues which prevented it from working properly.

Thanks to Eric Merrill and Bob Puffer I have also fixed the file browser in the 
TinyMCE > Insert image dialog.

This patch is generated by the `git diff --binary` command.  You cannnot use the 
generic `patch` program to apply the patch.

I recommend you do:

# clone the Moodle git repo
  git clone git://git.moodle.org/moodle.git ~/src/moodle
  cd ~/src/moodle

# checkout the Moodle 1.9 stable branch
  git checkout -b MOODLE_19_STABLE origin/MOODLE_19_STABLE

# create a branch for the TinyMCE 3 patch
  git branch mdl19-tinymce

# switch to the new branch
  git checkout mdl19-tinymce

# apply the downloaded patch
  git apply --binary moodle19-tinymce3.patch

When the Moodle 1.9 stable branch is updated, you can do:

# Update the MOODLE_19_STABLE branch
  git checkout MOODLE_19_STABLE
  git pull

# Rebase/update the mdl19-tinymce branch
  git checkout mdl19-tinymce
  git rebase MOODLE_19_STABLE

To use the TinyMCE editor in Moodle, make sure you update your config.php file 
to hold:

  $CFG->defaulthtmleditor = 'tinymce';

Good luck!

--
vim:set spell spl=en fenc=utf-8 ff=unix: 

