Richtext Editor: Fork (RTEF)
CURRENT VERSION: 0.004, Released on 20060907
intro
mit license
what's new
demos
download
contributors
donations
forum

Introduction

Richtext Editor: Fork (RTEF) is an open source, multilingual and cross-browser WYSIWYG editor. RTEF is based on the designMode() functionality introduced in Internet Explorer 5, and implemented in Mozilla 1.3+ using the Mozilla Rich Text Editing API.

It works with, IE5.5+/Mozilla 1.3+/Firefox 0.6.1+/Netscape 7.1+/Safari 1.3+/Opera 9+/Konqueror. All other browsers will display a standard textarea box instead.

RTEF was originally known as RTE (Revamped), an enhancement release to Kevin Roth's Cross browser Richtext Editor (a former public domain and open source project). Upon a realease in 5/2006, Kevin's project was branded under a Creative Commons License, Thus rendering it closed source (unless someone paid a nominal fee to Kevin).

It was decided that a fork needed to be created in order to keep RTE open source and free. By doing so, RTEF has an advantage in that users can freely make and share enhancements. With that said, enjoy!

The current version has been released under the MIT License.


The MIT License

Copyright (c) 2006 Timothy Bell

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Whats New

Enhanced support and bug fixes for the Safari web browser.
Better compression of the richtext_compressed.js file.


Demos

Single RTEF:
demo.htm

Multiple RTEFs:
demo_multi.htm

Full Screen RTEF (with autoresize enabled):
demo_fullscreen.htm


Download

Download:
http://rtef.info/rtef_v0.004_20060907.zip

Support:
http://rtef.info/deluxebb/


Contributors

Multilingual : Names of the contributors can be found in each language file
Safari, Opera and Konqueror Support - Anders Jenbo
Backward Compatibility - Craig Morey
Full screen mode - fills up the entire browser window (with or without auto resize) - Timothy Bell
Print function (prints content window) - Timothy Bell
Special characters - Timothy Bell
Cleaner user interface (looks the same in IE as it does in Mozilla) - Timothy Bell
Proper clean-up of dialogs (color palette and popups) - Timothy Bell
Auto Wrap Icons - if wide enough (1245px fullscreen mode, 1220px normal mode) all the icons will appear on one line. - Timothy Bell
Table Guidelines (shows dashed guidelines for tables that have a border equal to zero) - dannyuk1982(nickname) and Timothy Bell
Enhanced Insert Link Pop-up - allows you to add or link to anchors/bookmarks. - Timothy Bell, Tom Bovingdon and Rob Rix
Enhanced Insert Image Pop-up - allows you to add alternative text and borders to images upon insertion. - Rolf Cleis
Search And Replace - Timothy Bell and Rolf Cleis
Improved non-designMode() interface - Craig Morey
UTF-8 Support (not fully tested) - Timothy Bell
Word Counter - mharrisonline (nickname)
Special Character Retention - ndtreviv (nickname)
UnFormat HTML - mharrisonline (nickname)
Paste as Plain Text - mharrisonline (nickname)
Paste as Word - ndtreviv (nickname), mharrisonline (nickname)
Rewrite of trim() function - function went from around 25 lines of code to 3 - Timothy Bell
rteSafe Function - Provides a javascript based function to escape html for safe use in editor - Erel Segal
Added right-to-left feature/variable - display content right-to-left (pop-ups still in left-to-right) - Erel Segal

Added but disabled:

Link and Image Relative Path Retention (For IE) - See line 566 in richtext.js for more info. It has been released in hopes that someone will fix it.

Issues:

Link and Image Relative Path Retention (For IE) - (see above) invalid regular expressions.
Localization Updates - All Languages (except Danish, English, Polish, Portuguese, Russian and Swedish) need to have the following variables translated. They were included into each lang file as to avoid RTE from showing errors but they still need to be translated!!!!

lblPasteText = "Paste as Plain Text";
lblPasteWord = "Paste From Word";
lblWordCount = "Word Count";
lblUnformat = "Unformat";
lblCountTotal = "Word Count";
lblCountChar = "Available Characters";
lblCountCharWarn = "Warning! Your content is too long and may not save correctly.";
lblPasteTextHint = "Hint: To paste you can either right-click and choose \"Paste\" or use the key combination of Ctrl-V.<br><br>";
lblPasteTextVal0 = "Please enter text."
lblPasteWordHint = "Hint: To paste you can either right-click and choose \"Paste\" or use the key combination of Ctrl-V.<br><br>";
lblPasteWordVal0 = "Please enter text."


Donations

If you would like to make a donation please visit: OXFAM International

The following items would also help us greatly:
- Mac: to aid in quality control tests for safari.
- Laptop: in working order and at least a PII 500 mhz (or equivalent AMD)
- DVD Burner: at least 8x+ Dual Layer (Internal IDE or External USB)

Send a Private Message to "bellts" on our forum for shipping information. (You will need to setup a forum account to do this.)