11.1. Problem

Although our application so far allows for adding and editing the HTML body of the message, it is not very friendly. It assumes that the user knows HTML and can simply design an HTML message using markup. This is not just user-unfriendly, but it is also tedious and error-prone. Almost all users will want to:

  • Style the text using bold, italics, and so on.

  • Easily add hyperlinks.

  • Embed inline images.

We cannot expect them to do all this using markup and must provide a better way. Unfortunately, there is no standard HTML element that you can simply add to your web page to enable HTML editing. It would be nice to have been able to simply add an <htmleditor> tag and have a full-blown editor embedded in your web page.

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.