Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Moodle-specific customisations to the HTML editor: Difference between revisions

From MoodleDocs
No edit summary
Line 26: Line 26:


===Unmodified files===
===Unmodified files===
These were checked in to their current location (lib/editor/htmlarea) on 3rd April 2006 with the comment "Moving old editor to htmlarea folder." by [http://moodle.org/user/view.php?id=4057&course=5 Janne Mikkonen], who is the default assignee of editor bugs in the tracker.
I don't yet know where these files lived before the move, so I can't look further back in history than this yet.
* images/* (except for images/kbhelp.gif).
===images/kbhelp.gif===
Added 30th November 2006 by [http://moodle.org/user/view.php?id=86470&course=5 Vy-Shane Sin Fat] with comment "New help button for keyboard shortcuts." - part of the Moodle 1.8 accessibility work.

Revision as of 18:09, 29 July 2007

In this forum thread I summarise the position we have got ourselves into with the HTML editor. Moodle uses a WYSYG HTML editor called HTML area, which is now discontinued. We really want to switch to one of three other choices, but before we can do so, we need to work out exactly which Moodle-specific customisations we have made to HTML area to integrate it with Moodle, so we can make the same customisations to whichever editor we adopt in its place.--Tim Hunt 12:57, 29 July 2007 (CDT)

Summarly of the customisations we already know about

  • Integrate the add image dialog with the Moodle course files area.

Three possible replacements

All three of these are widely used by other open source projects, are under active development, with a release since May 2007.

Of these, only TinyMCE currently claims to support Safari, although FCK is aiming at it, and give a good justification why it is not there yet: http://dev.fckeditor.net/wiki/Compatibility

TinyMCE

LGPL licensed

Xinha

When HTMLarea was discontinued, this project was set up to continue development. Approximately BSD licenced.

FCKeditor

GPL, LGPL or MPL tri-licence. I once talked to some people who had successfully got FCK editor working with moodle.

Detailed analysis of Moodle-specific changes from the CVS logs

Unmodified files

These were checked in to their current location (lib/editor/htmlarea) on 3rd April 2006 with the comment "Moving old editor to htmlarea folder." by Janne Mikkonen, who is the default assignee of editor bugs in the tracker.

I don't yet know where these files lived before the move, so I can't look further back in history than this yet.

  • images/* (except for images/kbhelp.gif).

images/kbhelp.gif

Added 30th November 2006 by Vy-Shane Sin Fat with comment "New help button for keyboard shortcuts." - part of the Moodle 1.8 accessibility work.