Richtext Editor for PHP - MySQL Web Application

I have a PHP web application inside where I need to have a rich text editor (with basic formatting options) for my users to enter data into the portal.

Can someone tell me how to do this? Will there be any change in the part of saving the database since I am saving data in mysql DB

Thank you in advance

+4
source share
12 answers

FCKeditor is pretty good and painless to use. Some simple javascript calls when the page loads, and it will magically replace text fields with RTE. plus it works well in browsers that go all the way to IE5.5. There should be no effect on your database if you are ready to deal with the HTML coming from your text fields ...

+3
source

Or maybe RTE (rich text editor) from the yahoo user interface library?

Yahoo editor.

What I think may have some advantages:

  • Hosting (fast, optimized) from yahoo
+2
source

For some reason, the Spaw editor is not updating, so I switched to Cute Editor for PHP .

+2
source

You should give FCKEditor .

You can also see these .

+1
source

I recommend you FCKEditor , easy to integrate with PHP ...

+1
source

There are several different options, the most common of which are TinyMCE and FCKEditor . I recommend shopping around a little one at a time to you, but they should all send valid html in forms, etc. The biggest difference may be how you test the input for protection against XSS attacks (you need to enable "secure html" in the form submissions; this one looks promising).

+1
source

I like tinymce

+1
source

To use any RTF-style editor, you must set the fields in which you intend to store text of the LongText data type.

Both TinyMCE and FCKEditor are good, and both will store text formatting information as HTML tags.

In both cases, inserting graphics and / or Flash will require that you first download the content using your interface, and then paste it.

We have an observer that TinyMCE seems to load faster compared to FCKEditor on our systems.

+1
source

I reviewed many of these systems and found, like many of the posters above, that FCKEditor and TinyMCE are the best. I will go with FCK because it has support for uploading files / images - you need to pay for the module to achieve this on TinyMCE.

+1
source

I have never tried but MarkitUp! looks great. It was built on the jQuery library.

+1
source

We have been using the SPAW editor for several years, which you process and code through PHP instead of JavaScript (so its perspective is server-side instead of client-side).

We found that it is extremely extensible and customizable .

If you want to see, here is the link: http://www.spaweditor.com/

+1
source

Nicedit is a simple to use and lightweight (~ 25KB) WYSIWYG Javascript editor.

You can customize the style and buttons that you want to display on the toolbar.

You can also expand it, save data using AJAX, create valid XHTML, create multiple editors, upload images, BBCode and much more ...

I use it with jQuery and I am very pleased with the results

And this is open source :) with a MIT license

+1
source

All Articles