Geshi, editor plugin, M 2.5.1

Re: Geshi, editor plugin, M 2.5.1

by Ellen Spertus -
Number of replies: 0
I got this to work in Moodle 2.9.1 by doing the following:

  1. cd /path/to/moodle/lib/editor/tinymce/plugins
  2. git clone https://github.com/cleblond/moodle-tinymce_rj_insertcode.git
  3. mv moodle-tinymce_rj_insertcode rj_insertcode
  4. Remove the ampersand from line 58 of rj_insertcode/php/rj_get_highlighted_code.php because PHP5.
  5. On the TinyMCE settings page, add "|,rj_insertcode" to Editor Toolbar.
  6. Purge cache.

It is not clear that adding the plugin to lib.php is necessary.  I did, then undid, it.

As shown below, my Settings page doesn't look pretty, but I can live with that (or revisit later).