Search code examples
user-interfacetextareatext-formatting

how to allow user to format his aricales when user doesnot know html


In my website i want to allow users to post aritcals.Users post articles in a textarea as used by users of stackoverflow to post their question. Now i want to allow them to format articles, without having them to know html.User should be allowed to mark text as bold, put a image, mark some part as code, etc (other things as used by stackoverflow and hubpages.com).

How can i provide shuch option in UI. How do i support it DB?


Solution

  • Why not use an editor like TinyMCE ? http://tinymce.moxiecode.com/