Note:

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

HTML editor 2.0: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 2: Line 2:


== What we want ==
== What we want ==
 
=== Requirements ===
* Integration - With Moodle (smileys, different formats, etc.) with a minimum of changes
* Integration - With Moodle (smileys, different formats, etc.) with a minimum of changes
* Compatibility - With web browsers (mostly FF, IE, Safari, Opera)
* Compatibility - With web browsers (mostly FF, IE, Safari, Opera)
Line 9: Line 9:
* Configurability - Possibility to make it show different options and buttons according to the user, the context, 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:
Some features that should be evaluated:
* Handling of Word documents
* Handling of Word documents
Line 24: Line 25:


== Possibilities and evaluation ==
== Possibilities and evaluation ==
* [http://en.wikipedia.org/wiki/Comparison_of_WYSIWYG_HTML_editors Comparison of WYSIWYG HTML editors on Wikipedia]
* [http://en.wikipedia.org/wiki/Comparison_of_WYSIWYG_HTML_editors Comparison of WYSIWYG HTML editors on Wikipedia]
* [http://tinymce.moxiecode.com/ TinyMCE]: [http://wiki.moxiecode.com/index.php/TinyMCE:Compatibility Compatibility], [http://wiki.moxiecode.com/index.php/TinyMCE:Index Documentation], [http://tinymce.moxiecode.com/example_full.php?example=true Demo]
* [http://tinymce.moxiecode.com/ TinyMCE]: [http://wiki.moxiecode.com/index.php/TinyMCE:Compatibility Compatibility], [http://wiki.moxiecode.com/index.php/TinyMCE:Index Documentation], [http://tinymce.moxiecode.com/example_full.php?example=true Demo]

Revision as of 04:34, 16 April 2008

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

As of 16 April 2008, the preference goes to TinyMCE.

Links to forum discussions, tracker, docs, etc.