Hi Mihai et al.
First, a huge thanks for your work on the TinyMCE integration and lucid instructions on how to use Git! It's a superb example of of how the GSOC can help to make things happen. On our Moodle, we are making increasing use of rich text editing for generating learning content, giving feedback and more formal online reporting (e.g. using the ULCC ILP module) so a robust, capable, well-behaving rich text editor is vital.
I can confirm that following the instructions for a local 'git build' and then copying the patched files to a Moodle 1.9.5 server (as described in section 6. above) works rather well.
Here I detail a few other 'tweaks' I had to apply to our setup in case they help others. Note that I didn't use Mihai's latest Git repositories so some or all of these may be already fixed.
1. I removed the iespell plugin and enabled the spellchecker plugin as outlined by Eric Merril in an earlier posting in this thread. We already used Aspell with our Moodle and it was simple to 'point' the spellchecker at that.
See: TinyMCE:Plugins/Spellchecker for more details.
2. To make fonts display consistently, in both edit and display modes, I changed the default TinyMCE font-size to medium (rather than 10pt or 12pt) in the first line of:
/lib/editor/tinymce/jscripts/tiny_mce/themes/advanced/skins/o2k7/content.css
Of course, the details of this will depend on which TinyMCE and Moodle Themes you are using.
3. When using Internet Explorer 6 or 7 (or IE 8 in compatibility mode) some TinyMCE toolbar mouse-overs and menu items did not display correctly. For example 'advanced.h1' rather than 'Heading 1'. Other recent browser versions (IE 8, Firefox, Opera, Safari, Chrome) had no problem.
This was fixed by adding the following to the appropiate lang file (in our case en.js) in: /lib/editor/tinymce/jscripts/tiny_mce/langs/
advanced:{
forecolor_desc:"Select text colour",
backcolor_desc:"Select background colour",
paste_desc:"Paste (Ctrl-V)",
copy_desc:"Copy (Ctrl-C)",
cut_desc:"Cut (Ctrl-X)",
undo_desc:"Undo (Ctrl-Z)",
redo_desc:"Redo (Ctrl-Y)",
removeformat_desc:"Remove formatting",
cleanup_desc:"Clean up messy code",
charmap_desc:"Insert custom character",
code_desc:"Edit HTML source",
newdocument_desc:"New document",
fontdefault:"Font family",
font_size:"Font size",
block:"Format",
paragraph:"Paragraph",
address:"Address",
pre:"Preformatted",
h1:"Heading 1",
h2:"Heading 2",
h3:"Heading 3",
h4:"Heading 4",
h5:"Heading 5",
h6:"Heading 6",
bold_desc:"Bold (Ctrl-B)",
italic_desc:"Italic (Ctrl-I)",
underline_desc:"Underline Ctrl-U)",
striketrough_desc:"Strikethrough",
sup_desc:"Superscript",
sub_desc:"Subscript",
justfyleft_desc:"Align left",
justifycenter_desc:"Align Centre",
justifyright_desc:"Align right",
justifyfull_desc:"Align full",
bullist_desc:"Unordered list",
numlist_desc:"Ordered list",
outdent_desc:"Outdent",
indent_desc:"Indent",
blockquote_desc:"Blockquote",
unlink_desc:"Unlink",
anchor_desc:"Insert/Edit anchor",
hr_desc:"Insert horizontal rule"
},
There may be more elegant ways of doing this, but it worked for us.
Thanks again!