Page 1 of 2
Rich Text Editor
Posted: Wed Jul 12, 2006 7:16 am
by phppage
Would anyone know of a good rich text editor that I easily restrict and edit what the user is allowed to do.
I only want the user to add h2 headings, italics and bold text.
Have thought about using the RTE demo at this link
http://www.media-axis.co.za/rteHTML/demo.php but it uses u b and i tags in the html rather than style. As I understand it these tags are on the way out? Can shell out a bit of money for source code but my Java knowledge is limited so would need good documentation on how to mod. Will pay about $60 but no hundreds as some are advertise at.
Any help would be greatly appreciated as well as passed experience tips.
Re: Rich Text Editor
Posted: Wed Jul 12, 2006 7:47 am
by Roja
phppage wrote:Would anyone know of a good rich text editor that I easily restrict and edit what the user is allowed to do.
I only want the user to add h2 headings, italics and bold text.
http://www.fckeditor.net/ allows you to enable or disable virtually every item. It is also compatible with the majority of browsers (unfortunately, Safari presents a challenge).
No, those tags are NOT on the way out.
There is, however, an emphasis on using those tags appropriately. Using B for a strong point, for example, is wrong (you should use the strong tag), but if you want your text to be BOLD (where the strength doesnt matter), thats the correct choice. By the way, there isn't even a semantic replacement for U - underline is by definition a presentation element.
Ignoring those issues, if you want to consistently convert u,b, and i tags, you can always run a regex on the input from the rich text editor, converting the tags (b=strong, i=em).
Posted: Wed Jul 12, 2006 10:23 am
by Luke
I use
tinymce by
moxiecode. It is web-based... but it will do what you are looking for I believe. You can almost fully control its output (I even made it output valid XHTML).
Posted: Wed Jul 12, 2006 12:52 pm
by phppage
Cheers folks will take a look at them both.

Posted: Wed Jul 12, 2006 12:56 pm
by RobertGonzalez
Just a note, tinymce does not load in my Opera browsers. Neither does FCKEditor. I think it might have something to do with the way the JavaScripts interact with the browser. Or it could be plain old stupidity on my part.
EDIT | Nooope. It is the browser. For a fun read, skim
this thread on the Opera forums. I am with the original poster... the TinyMCE home page clearly has an icon of Opera as a supported browser, and clearly states so on their home page. However, if you search hard enough you find a press release where they say that it only supports Opera 9.0 Preview 1. Seems a little misleading to me, but, oh well. It is still a darn good product at a great price

.
Posted: Wed Jul 12, 2006 1:03 pm
by Christopher
I just downloaded the latest TinyMCE and FCKEditor to upgrade a site that was formerly using FCKEditor. As usual I have had a hard time getting FCKEditor to work. It has always seems like FCKEditor is very sensitive to changes in the init code and directory structure. TinyMCE seems like you can hit it with a hammer and still comes up -- and then it is pretty clear the thing you did wrong.
Do others have this same experience? Is there some secret handshake for FCKEditor that once I learn I won't have any more problems? It actually has more features and a nice community around it (hence my previous use).
Posted: Wed Jul 12, 2006 1:05 pm
by RobertGonzalez
No, you not alone. I have had the same issues. TinyMCE is a clean app. WordPress has even shipped their package with it as their blog editor since 2.0.2. It is an easily extensible app.
Posted: Wed Jul 12, 2006 1:49 pm
by Luke
Everah wrote:It is still a darn good product at a great price

.
LOL Free?
Posted: Wed Jul 12, 2006 3:55 pm
by Chris Corbyn
We use TinyMCE. It has quite literally masses of plugins, is easier to install than FCK and does complete WYSIWYG web page creation all in JavaScript. We're using it in an online documentation editor. Had to hack it a bit to allow image uploads since the addvimage plugin just takes a URL but it was easy to do.
Posted: Wed Jul 12, 2006 3:56 pm
by AKA Panama Jack
Avoid the FCKEditor as it doesn't support all browsers.
You might want to check out TinyMCE as it DOES sipport all browsers.
http://tinymce.moxiecode.com/
Posted: Wed Jul 12, 2006 3:59 pm
by AKA Panama Jack
[quote="Everah"]Just a note, tinymce does not load in my Opera browsers. Neither does FCKEditor. I think it might have something to do with the way the JavaScripts interact with the browser. Or it could be plain old stupidity on my part./quote]
Actually you are kind of wrong on that.
If you are using Opera 9 TinyMCE works like a charm but FCKEditor doesn't because FCKEditor purposefully excludes anything Opera. I think the creaters of FCKEditor are Firefox fans and just hate anything to do with Opera.
TinyMCE added Opera Support for Opera 9 back in October of last year and it has supported all Opera 9 builds.
Posted: Wed Jul 12, 2006 4:03 pm
by RobertGonzalez
Everah wrote:Just a note, tinymce does not load in my Opera browsers. Neither does FCKEditor. I think it might have something to do with the way the JavaScripts interact with the browser. Or it could be plain old stupidity on my part.
EDIT | Nooope. It is the browser. For a fun read, skim
this thread on the Opera forums. I am with the original poster... the TinyMCE home page clearly has an icon of Opera as a supported browser, and clearly states so on their home page. However, if you search hard enough you find a press release where they say that it only supports Opera 9.0 Preview 1. Seems a little misleading to me, but, oh well. It is still a darn good product at a great price

.
AKAPJ, not sure when you posted, but I added in that it does support Opera 9 Preview 1. But that is the only version of Opera it supprts.
Posted: Wed Jul 12, 2006 4:05 pm
by RobertGonzalez
The Ninja Space Goat wrote:Everah wrote:It is still a darn good product at a great price

.
LOL Free?
I don't know, seems like you can't beat free when it comes to the cost, eh?

Posted: Wed Jul 12, 2006 4:08 pm
by AKA Panama Jack
Nope, I have been testing TinyMCE on all opera Builds and every one of the Opera Builds has worked without a problem.
They have been a little lax in updating their documentation.
Tends to happen on Open Source projects.
Posted: Wed Jul 12, 2006 4:09 pm
by RobertGonzalez
I use 8.53 at work. 8.X (something or other) at home. Seeing as I don't have Opera 9, neither of the two work for me.