Development:HTML editor 2.0
From MoodleDocs
This page details the specification of the HTML editor in Moodle 2.0.
What we want
Requirements
- Integration - With Moodle (smileys, different formats, etc.) with a minimum of changes
- Compatibility - With web browsers (mostly FF, IE, Safari, Opera)
- Standard - Outputs valid XHTML code
- Accessibility - Is it 100% keyboard accessible? Is it usable in JAWS? Etc.
- Configurability - Possibility to make it show different options and buttons according to the user, the context, etc.
Features
Some features that should be evaluated:
- Handling of Word documents
- HTML code direct editing
- Image uploading
- Mathematical formulas editing
- Possible to turn it on and off on demand (on the page) without losing (modified) content
- Right-to-left text input
- Smileys (has to be possible to use the Moodle list of smileys)
- Special characters
- Tables
- Themeable (possible to make a theme that fits with Moodle's)
Ticket MDL-11113 discusses most issues.
Possibilities and evaluation
- Comparison of WYSIWYG HTML editors on Wikipedia
- TinyMCE: Compatibility, Documentation, Demo
- FCKeditor: Compatibility Documentation, Demo
- Xinha: Documentation, Demo
- Yahoo RTE: Documentation, Demo,
As of 16 April 2008, the preference goes to TinyMCE.
Links to forum discussions, tracker, docs, etc.
- [https://tracker.moodle.org/browse/MDL-11113 MDL-11113 - Get a fully working HTML editor in Moodle]
- Using Moodle: What is the current position with the HTML editor?
- Development:Moodle-specific_customisations_to_the_HTML_editor