For user profile son my site I have some fields like: Career experience where the user can detail out his career. I want to add some in-line rich editor features like bullet points, bold text, etc but without all the icons. So users need to add the html like to make it bold. At the same time i want to restrict other html so no one includes tables or other bad html into the form.
So I assume to do this i need a wysiwyg fie开发者_高级运维ld instead of a regular form field? And how to make the field like that? I am using codeignitor php for my framework, are there any open source adds on to this or do i need to handcode the field?
There are packages which do this sort of thing for you. I'm familiar with TinyMCE, which is pretty good... easy to integrate and simple, familiar UI.
精彩评论