All source code in Java/ Javascript Ask a Java/ Javascript Pro Discussion Forum Categories All jobs in Java/ Javascript
API,written,crossbrowser,richtext,editor,impl
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Java/ Javascript Stats

 Code: 484,040. lines
 Jobs: 194. postings

 How to support the site

 
Sponsored by:
Quick Search for:  in language:    
You are in:
 
Login





Latest postings for Java/ Javascript.
Click here to see a screenshot of this code!My First Struts2 Application
By nagesh borate on 2/7

(Screen Shot)

Click here to see a screenshot of this code!Peg solitaire
By Mario Segura on 2/4

(Screen Shot)

Simple TicTacToe
By Atishay Jain on 2/4


moon info
By marcojetson on 2/3


Click here to see a screenshot of this code!SLOT MACHINE
By Husain Limdiyawala on 2/1

(Screen Shot)

Click here to see a screenshot of this code!NLabs' Password Generator
By nagesh borate on 2/1

(Screen Shot)

DragAndDrop
By Masood Fallahpoor on 1/30


Click here to put this ticker on your site!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!



 
 
   

Cross-Browser Rich-Text Editor

Print
Email
 
winzip icon
Submitted on: 4/1/2003 10:40:04 AM
By: Kevin Roth  
Level: Advanced
User Rating: By 31 Users
Compatibility:JavaScript

Users have accessed this code 66270 times.
 
author picture
 
     I've written a cross-browser rich-text editor implementing the Midas API included with Mozilla 1.3+. See a demo at: http://www.kevinroth.com/rte/demo.htm

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.
 
 Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
6/12/2003 4:46:18 PMboots

Top class, thankyou for posting this.
(If this comment was disrespectful, please report it.)

 
7/4/2003 6:47:07 PMDavid Liu

TOTALLY AWESOME! No wonder you won the coding contest! This is *exactly* what I needed! 5 globes and THANKS!
(If this comment was disrespectful, please report it.)

 
2/12/2004 12:23:15 PM

Nice Work! This is a great all around component! I may have some ideas how you can extened it further.
(If this comment was disrespectful, please report it.)

 
2/17/2004 10:43:45 AMKevin Roth

For the most up-to-date version of this code, go to http://www.kevinroth.com/rte/demo.htm. I try to stay on top of bug fixes as best I can.
(If this comment was disrespectful, please report it.)

 
2/29/2004 12:11:19 AM

Superb! Thanks for sharing.
(If this comment was disrespectful, please report it.)

 
7/19/2004 4:35:53 PMDavid

Excellent work, very clean code and well commented. This is a really good addition to any site needing more text editing options. Thanks for your effort and sharing it with us Kevin!
(If this comment was disrespectful, please report it.)

 
3/29/2005 9:42:46 AM

Hi,
I found a bug in this application and just wonder whether there is a fix for it.

Basically when I cut and paste a paragraph from MS word the RTE does not put the closing tag for bold text at the correct place.


sample text:

This is the line before the highlighted code.
Comment: This is a paragraph after the word comment which has been highlighted. However when this is cut and pasted from MS word to the RTE, the whole paragraph gets highlighted. Is there a fix for this..
To replicate the error please first cut and paste this to MS Word and then highlight the Comment: then cut and paste from WORD to the RTE.
I did try using the demo page as well and same thing happens. Thanks


(If this comment was disrespectful, please report it.)

 
9/13/2005 8:01:40 AMSteven McElrea

Holy crud! Thanks, great code... keep up the good work, 5 globes... :)
(If this comment was disrespectful, please report it.)

 
11/22/2005 5:26:55 AMTerry Remsik

Look great!! But this does not work in Netscape 7.0.. how can i get it to work in this browser?
(If this comment was disrespectful, please report it.)

 
5/12/2006 9:33:07 AMSita

Hi,

Create link,Insert Image events are not working for me.I'm using IE 6.Could you please tell me what could be the reason?I'be unzipped your code and put it in my m/c and using your demo code.
(If this comment was disrespectful, please report it.)

 
5/22/2006 5:34:28 AMArathael Kligg

Really awesome...
(If this comment was disrespectful, please report it.)

 
8/1/2006 1:08:13 AMRA

When we type a line after that hit enter ENTER for next Line it shows 1 line GAP between two typed lines. Can we avoid this?
(If this comment was disrespectful, please report it.)

 
1/9/2007 10:17:37 AMGowrikanth

It is a very good control.And useful for many applications.here i used this control in developing an application where i can cut and copy the content as it is.That means including the font and all.But here a problem is raised that is.....I placed the control on a page.In that page a button is there.When i clicked on the button a new window is opened placing the RTE control in the new window.I was unable to place the control on new window it is placed on the back page when i have RTE control and button.Plz help me regarding this senario.

(If this comment was disrespectful, please report it.)

 
2/17/2007 7:02:38 PMLewis

WOW, Such a great tool for a web-site!
I am a bit new to Javascript and need some quick help...
How can I submit the value from the Text box to a database? I am not sure what value I need to request.
Please help me solve this small piece of a large web-site.
(If this comment was disrespectful, please report it.)

 
6/5/2008 11:19:34 PMsteven

5, good work!
(If this comment was disrespectful, please report it.)

 
9/24/2008 11:58:27 AMtcarroll

It's a great tool, but I'm trying insert flash code and I can't figure out what I need to do to allow it to keep the code. It typically will wipe it out. I'm building an interface for staff to update content and they wanted to add flash script from sites like YouTube. Any help is appreciated.
(If this comment was disrespectful, please report it.)

 
11/17/2008 9:02:37 PMJohn, London (UK)

Kevin's RTE is great. Just what I've been looking for. I attach two really simple ASP examples. //This works fine writeRichText('Content', '

Hi,

MyMessage

', 400, 200, true, false); //This doesn't writeRichText('Content', '

Current Version: 3.09

This code is licensed under a Creative Commons License</a> (as of 5/15/2006).

The Cross-Browser Rich Text Editor (RTE) is based on the functionality introduced in Internet Explorer 5

' , 400, 200, true, false); Could anybody tell me how to pass a multil-line HTML into the KR RTE? Thanks for your help, John (London, UK)
(If this comment was disrespectful, please report it.)

 
3/19/2009 7:15:38 AMRichard Light

Hi,

I bought the source code of this editor a couple of days ago, and so far have received nothing for my money. Since Kevin provides no way of contacting him on his own site, I'm trying here.
(If this comment was disrespectful, please report it.)

 
11/19/2009 7:26:53 AMBharath

The Cross-Browser Rich Text Editor (RTE) is good, but when am click the submit button some extra code is adding in mozilla like rte1 = Bharath

Kothapalli
some extra code And in IE is like this rte1 =

Bharath

Kothapalli

Regards, Bharath
(If this comment was disrespectful, please report it.)

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author from the email account you registered on the site, so you can correspond directly.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
To post feedback, first please login.


 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Games | Feedback | Customize | Java/ Javascript Home | Site Home | Other Sites | Open Letter from Moderators | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997-2010 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.   Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. Exhedra solutions has no affiliation with Sun Microsystems, Inc.. Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.