11.3. Solution

There are several editors available online, but let's only examine a few of them. I want to objectively evaluate the selection, and, therefore, I will consider the following factors in my decision:

  • Functionality/features

  • Ease of use/implementation

  • Community support

  • Documentation

11.3.1. TinyMCE

http://tinymce.moxiecode.com/

11.3.1.1. Description

From the website:

TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances. TinyMCE is very easy to integrate into other Content Management Systems.

Figure 11-1 is an example of a TinyMCE editor with some basic editing features turned on.

Figure 11-1. Figure 11-1
11.3.1.2. Use
<script type="text/javascript" src="/scripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
tinyMCE.init({
 mode : "exact",
 elements: "html",
 theme : "simple"
});
</script>
11.3.1.3. Comments

This is a very capable editor and has a simple mode. I am not a big fan of its HTML editor and image gallery because they pop up a browser window rather than an AJAX dialog box.

11.3.2. WYMeditor

www.wymeditor.org/

11.3.2.1. Description

From the website:

WYMeditor is a web-based WYSIWYM (What You See Is What You Mean) XHTML editor.

WYMeditor's main concept is to ...

Get ASP.NET MVC 1.0 Test Driven Development: Problem - Design - Solution now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.