Rich Text Editor
Moderator: General Moderators
Rich Text Editor
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.
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
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).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.
No, those tags are NOT on the way out.phppage wrote: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?
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).
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
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
.
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
Last edited by RobertGonzalez on Wed Jul 12, 2006 1:03 pm, edited 1 time in total.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
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).
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).
(#10850)
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
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.
- AKA Panama Jack
- Forum Regular
- Posts: 878
- Joined: Mon Nov 14, 2005 4:21 pm
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/
You might want to check out TinyMCE as it DOES sipport all browsers.
http://tinymce.moxiecode.com/
- AKA Panama Jack
- Forum Regular
- Posts: 878
- Joined: Mon Nov 14, 2005 4:21 pm
[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.
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.
Last edited by AKA Panama Jack on Wed Jul 12, 2006 4:04 pm, edited 1 time in total.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
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.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.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- AKA Panama Jack
- Forum Regular
- Posts: 878
- Joined: Mon Nov 14, 2005 4:21 pm
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA