What is the use of tiny mce javascript library ?
I m working on jsp project were it uses tinymce.js . i actullay dont know what it does .

Recommended Answers

All 4 Replies

It transforms a regular textarea in HTML into a full blown editor, similar to the one you typed this post in.

Does it any help in form submission ??

If you refer to filtering:

Protection against XSS attacks needs to be done on the server since if you can submit contents in a form using TinyMCE one could as easily disable all javascript and there for bypass TinyMCE filtering and still submit HTML code with insecure content. You need to properly filter the HTML input on the server using things like HTMLPurifier etc.

But even if you use the bundled filtering, this is limited to the textarea, not to other input fields.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.