What you provide your client depends on the requirement. If you have designed the News page as a layout template with structured sections of data eg Headline, Main image, Introduction, Reporter/Author, Body, Footnote, References etc, then you should provide form inputs for all those bits of information. You would probably provide <textarea> elements for larger blocks of text such as the body. You may have CSS files that will control the formatting and appearance, so you would not want your client to use a Rich Text Editor (RTE) to submit styled HTML that will override your predetermined styles.
On the other hand, your client might believe that they are a brilliant designer and they want control over the formatting of a news item. In that case, tinyMCE or something similar is exactly what you need. These RTEs are simply window dressing over a <textarea> element, so you would treat the input in exactly the same way when you come to insert it into the database - except that you will have to use Request.Unvalidated to refer to any form field that might contain HTML.
Does that help?
|