Online Rich Text Editor using jQuery
- remove_red_eye3871 Views
- event18 Oct 2014
- access_time2 min read
There are many web applications which requires rich text editor (similar to notepad or any other text editor) such as blogging engine like WordPress or Blogger, feedback form, Online editors etc. In this tutorial i am going to explain how to develop rich text editor using jQuery and store them in MySQL database.
For the demo purpose i have made the text editor and save facility which store the information in database and load it in text editor and vice versa.
I found one very lightweight, simple and easy to customize jQuery plugin called as jqte. You can download the code and use it under your project. All you need to do is write this code.
* Load all the required files.
* Call the jqte function.
That’s it. This is our simple WYSIWYG editor which converts every textarea present on page to rich text editor. You can pass the ID of the element as well.
How to use it:
Download the package from jqte official site and upload the jqte css,js and png file to your server. Make sure you have jquery attach to your page.
That’s all for now. If you have any doubts let me know in comments.