Print Page | Close Window

Web Wiz Rich Text Editor v2 beta 1

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=12544
Printed Date: 28 March 2026 at 1:39pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Web Wiz Rich Text Editor v2 beta 1
Posted By: WebWiz-Bruce
Subject: Web Wiz Rich Text Editor v2 beta 1
Date Posted: 15 November 2004 at 1:54pm
after spending around 100+ hours over the last month on this I have released a beta version 2.0 of the Web Wiz Rich Text Editor, for you all to download and test.

You can download the new beta version at (it's the v2 beta 1 version):-

http://www.webwiz.net/asp/sample_scripts/RTE_application.asp - http://www.webwiz.net/asp/sample_scripts/RTE_applicati on.asp

An on-line demo version can be seen at:-

http://www.richtexteditor.org/demo/ - http://www.richtexteditor.org/demo/

The new version has many new features and is simpler to integrate, although at the moment there is only a simple readme file with some integration notes in it.

If anyone would like to write more comprehensive install instructions for the final version then please do and I'll include them in the final version, as good install instructions are never written well by the developer as I have to much knowledge of the system for novice users to understand what I'm on about.

New features include:-
  • New look
  • Improved loading speed
  • Improved hyperlink, upload, attachment, emotion, etc. controls
  • Special characters
  • Table inserting for Mozilla based browsers
  • Single line spacing for IE (IE usually does double line spacing in most RTE's)
  • New open, close, save, print, horizontal rule, strike through, etc. tools
  • Image, hyperlink, and attachment preview windows
  • Server file browsing for uploaded server images and files (can only veiw certain folders for security and can be disabled)
  • Can now be skinned to change the look and feel
  • All features can be enabled and disabled from one text based file for easy setup


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Replies:
Posted By: likedon
Date Posted: 15 November 2004 at 3:04pm
Looking great so far, but it's a beta as your say, so I'm sure you know the limitation of creating a link on an image. The resulting action is  different in firefox vs explorer.

any plans on word-cleaner and and insert flash/quicktime/avi ?


-------------
http://www.maximilian.dk


Posted By: WebWiz-Bruce
Date Posted: 16 November 2004 at 8:21am
I haven't yet worked out away to create an image on a link and so far I have hit a brick wall on doing that after spending around 16 hours trying to come up with a solution.

I have considered a word cleaner, but I'm afraid that my knowledge of javascript isn't upto producing a word cleaner and I can find no refernces on how to build one on the internet so at the moment there are no plans to add one, unless something changes.

It should be relativly simple to modify the code to have support for flash/quicktime/avi files.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: likedon
Date Posted: 16 November 2004 at 8:28am
okay someone will hopefully mod it

-------------
http://www.maximilian.dk


Posted By: WebWiz-Bruce
Date Posted: 16 November 2004 at 9:39am
If I find time I may look into adding a Flash insert tool

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: aks427
Date Posted: 16 November 2004 at 11:00am

Great updates to the new RTE version!  Thanks for spending so much of your time on it!

I ran accross one error you might want to know about.  I saved a file without a title, using the litte save button, and then browsed to it, and tried to click open, but got a javascript error "Unknown Runtime Error, Line 22, Char 3, URL RTE/RTE_popup_open_file.asp".



Posted By: WebWiz-Bruce
Date Posted: 16 November 2004 at 11:47am
Do you get the same error in Firefox, as the returned error message in IE is almost useless.

Firefox has a decent javascript debug console so you can identify the exact error and line that courses the error, which may help track down the problem.

I have tried to replicate the error but can not.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: aks427
Date Posted: 16 November 2004 at 12:20pm

Yeah, I know that IE has very bad javascript error messages.

No, I only get it in IE, not Mozilla.  It is something with not putting a title when you save, I think.



Posted By: huwnet
Date Posted: 16 November 2004 at 1:29pm
The button for iespell seems to have dissappeared but there is this plugin http://forums.webwiz.net/forum_po sts.asp?TID=12562&PN=1
which I have been using which works well.


Posted By: WebWiz-Bruce
Date Posted: 16 November 2004 at 1:43pm
IEspell is still included in the IE version, it's just been moved to a new location next to the preveiw button in the top button row.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: WebWiz-Bruce
Date Posted: 16 November 2004 at 1:47pm
Originally posted by aks427 aks427 wrote:

Yeah, I know that IE has very bad javascript error messages.

No, I only get it in IE, not Mozilla.  It is something with not putting a title when you save, I think.


I can't replicate the error in IE.

What version of IE are you using? and on what OS?

Also is this occurring before or after the file is saved?

It could also be coursed by a corrupted file, so try re uploading the files again.

Do you get the error in the demo version on this site?

If a title is not entered the form should be submitted anyway, and the ASP code then detects that no title is entered and places 'Untitled Document' as the page title.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: aks427
Date Posted: 16 November 2004 at 2:04pm

Ok, the way to get the error is, open up the RTE, then insert a horizontal rule.  Save it as something without a title, and then try opening it.  I only get it on my localhost, not the demo.  I don't think you need to worry about it that much, as it only happens when you save a file with just a horizontal rule, with no title, and it only happens on some computers.  Not a very high chance of getting it.  I don't now why I happened to do that.

I'm using IE 6 SP1, Windows 2000 Pro.



Posted By: WebWiz-Bruce
Date Posted: 17 November 2004 at 4:52am
Very odd, seems to work fine on my machine, they only difference is I'm on XP Pro, but then the uploaded demo version is on 2000 Pro, so the set-up there should be the same.

Most of the saving and opening of files, is done using ASP server side, so I'm at a loss to track down this error.

Hopefully it's just some strange glitch on your machine and others won't be affected by it.

I imagine in most uses people won't be requiring the open and saving feature anyway.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Lesko
Date Posted: 17 November 2004 at 1:08pm

It would be nice to have posibillity to insert link to another topic within forum. Now I do this using copy and paste Like this: Forum Rules and Guidelines But this is just fixed hyperlink and will be invalid if forum is moved to another url. Also if I rename the topic, it is not represented here.



Posted By: urbantruth
Date Posted: 17 November 2004 at 6:18pm

I think the RTE 2.0 is very cool!

I'm new to ASP and I'm Trying to submit the html that the RTE makes to a database and then recall it from the database to edit agian. I have a problem with a could of things:

I need to pass a ID that i would normally place in the Query String but The RTE_textarea.asp page dosen't see the query string (so it seems) could this be that RTE_textarea.asp is in an iframe?

The other trouble i'm having is when i do display in the textbox data from my database and I make changes it will not save them.

thanks for any help guys

Newbie

Mark



Posted By: WebWiz-Bruce
Date Posted: 18 November 2004 at 4:25am
If you follow the readme.text file there is a short explaination of how the RTE works and also tells you of three generic querystrings that are built into the RTE that can be used for passing information to the textarea in the form of:-

QS1
QS2
QS3

eg. /pageContainingRTEform.asp?QS1=myRecord

The textarea is an iframe called RET_textarea.asp, these querystrings can then be read in, in that file and used to open databases records etc.

As far as it not saving changed data to the database goes, maybe looking as some tutorials on the web on how to update the database type you are using would help.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: urbantruth
Date Posted: 18 November 2004 at 8:01pm

Thanks For the help! i was able to figure out most of it but one part.

This is my string:

http://localhost/CMS/default.asp?MinistryAreaID=174&DepartmentID=8 - /CMS/default.asp?MinistryAreaID=174&DepartmentID=8

then i changed the str variables to :

strQueryString1 = Request.QueryString("DepartmentID")

then i Response.Write(strQueryString1) Response.End and i get nothing. I also tryed it with your QS1= and it didn't work.



Posted By: WebWiz-Bruce
Date Posted: 19 November 2004 at 4:03am
As the text area is in an Iframe the querystring are first passed to the file include/RTE_message_form_inc.asp then relayed onto the Iframe.

You will either have to change the querystrings in include/RTE_message_form_inc.asp as well as in RTE_textbox.asp

OR

Just change the querysting name sto that page eg.

http://localhost/CMS/default.asp?MinistryAreaID=174&DepartmentID=8 - /CMS/default.asp?QS1=174&QS2=8


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: urbantruth
Date Posted: 19 November 2004 at 2:52pm

I tryed i http://localhost/CMS/default.asp?MinistryAreaID=174&DepartmentID=8 - /CMS/default.asp?QS1=174&QS2=8  agian and it worked! Thanks!

 

Mark



Posted By: cyberchiel
Date Posted: 19 November 2004 at 8:17pm

First of all: congratz! Great editor!

Second: found a little bug: Some charactors are translated strangely. For example: ‘ is translated to ‘

Third: Tip: add to RTE_textarea.asp to see invisible table-borders:
<STYLE>
td {border:1px dotted #CCCCCC;}
</STYLE>



Posted By: salwa
Date Posted: 20 November 2004 at 1:47am

Very nice tool :) and work.

I suggest adding buttons for adding

realplayer file

flash file.

Right Align for languages from right to left.

Regards

Salwa



Posted By: dpyers
Date Posted: 20 November 2004 at 2:26pm

Originally posted by cyberchiel cyberchiel wrote:

Second: found a little bug: Some charactors are translated strangely. For example: ‘ is translated to ‘

That's probably defensive coding to prevent sql injection attacks. There's characters you don't want included in a string that gets saved to a db as they are part of the sql syntax and can change the meaning/purpose of the sql statement.



-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: cyberchiel
Date Posted: 20 November 2004 at 6:20pm

dpyers,

Nope, nothing like that. It was just another character encoding-set.

I solved it by replacing:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
into:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">



Posted By: huwnet
Date Posted: 21 November 2004 at 10:48am
Good, shame that when a web address is typed, it does not get made a link under firefox.


Posted By: zadax
Date Posted: 21 November 2004 at 11:20am

whan can we see it work with the forum system ?

thers any way to change the Text editor to out Forum right now somhow ? or we need to wait for new wwf ver ?



Posted By: WebWiz-Bruce
Date Posted: 21 November 2004 at 12:54pm
Becuase of permissions etc. in the forum it isn't as simple as dropping it into the forum to get it to work.

I have started to integrate the new RTE into the forum, but it will probally take around 3 or 4 hours of work.

The new editor will be in version 8 of web wiz forums.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: zadax
Date Posted: 21 November 2004 at 5:35pm

yaya

we waiting for v8 for months borg

u doing good job !



Posted By: Phat
Date Posted: 29 November 2004 at 2:46am
when i click on the smiles only one will be entered.

E.g If i click on a smile to enter 10 in a row only one will entered. I then have to go back to the text area and place the cursor back in there before adding another one. And i get an error message saying error inserting object into current location.

Firefox V 1.0


Posted By: WebWiz-Bruce
Date Posted: 29 November 2004 at 4:22am
This is a quirk with Firefox itself.

I have tried to force the cursor back into focus in the message frame after placing in an emotion, but unless there is some text already entered into the message box it won't do it.

If you try again with some text in the message area it will move the focus back to the message area so you can put in multiple emoticons.

If there is no text in the message area, just images, then you will need to manually click on the message area to place the focus back into the message area so you can place another emoticon on the page.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Phat
Date Posted: 29 November 2004 at 4:25am
Yeah you are correct. Maybe update the error message to say so.

Also i think it crashes FireFox as after i get this FirexFox will shut down soon after.


Posted By: WebWiz-Bruce
Date Posted: 29 November 2004 at 6:48am
The error message is generic as I don't know when it may come up.

In part of the code that inserts the image uses a try catch block, so of for some reason, such as the message box doesn't have focus or an object like another image, table, etc. is selected it can't insert the image and so the catch part displays a message saying the object can not be inserted in the present location.

Firefox does seem to have some random stability problems when the RTE design mode is enabled, I find hitting refresh a number of times and other almost random things will course Firefox to crash.

Hopefully it will be something Firefox will address is future releases.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Phat
Date Posted: 29 November 2004 at 8:11pm
Not sure what has changed as the old RTE had no problmes with this.
We just need to figure out how to do it.


Posted By: WebWiz-Bruce
Date Posted: 30 November 2004 at 4:23am
The old version just used the insertimage command which was limited.

In the new version HTML elements are placed into the page for inserting the emoticion, this means that things like alt tag and alignment is also added.

Notice now the following emoticon is inline, Big smile with the text, instead of sitting above the line like in the old version.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: WebWiz-Bruce
Date Posted: 01 December 2004 at 4:12am
I've just released version 2.0 beta 2 which fixes a number of the bugs and quirks that have been bought to my attention in this topic as well as as a number of other changes.

The new version can be downloaded from:-

../asp/sample_scripts/RTE_application.asp - http://www.webwiz.net/asp/sample_scripts/RTE_applicati on.asp

An on-line demo version can be seen at:-

http://www.richtexteditor.org/demo/ - http://www.richtexteditor.org/demo/

Many thanks to everyone here in helping to test the RTE Big smile


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: urbantruth
Date Posted: 02 December 2004 at 1:11pm

When a user wants to insert an image it gives them the option of seraching /mydocuments/mypictures as a default. I set up an image server and would like to change the path. I can change the path to anything thats on the server but I want to look at a different server.

 
The reason I an image server, it lets my developers work from home using a svn and not have to download images directly to their computer.
 
Mark
(new guy at this)


Posted By: WebWiz-Bruce
Date Posted: 03 December 2004 at 7:03am
For seurity reasons ASP FSO object works it doesn't allow you to use it to access a non loacl or non networked drive.

If you could then it would be a big security risk as it would allow people to search any directory on the web.

If the image server is on the same network you could try setting up a network mapped folder from the applications folder, this would allow you to do what you require.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: urbantruth
Date Posted: 06 December 2004 at 3:34pm
thanks!


Posted By: urbantruth
Date Posted: 14 December 2004 at 2:19pm

I tried mapping a folder and then a shortcut to the folder both didn't show up in the image browser. Is there somthing i have to change for the code to reconize the mapped folder or shortcut?



Posted By: WebWiz-Bruce
Date Posted: 15 December 2004 at 4:29am
Maybe try a virtual folder

It needs to be seen as a folder in that web site, otherwise it will not work.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: BoLt
Date Posted: 15 December 2004 at 11:12am

Ok can you help me with this one.

I have RTE version 2.0 beta 2 and I used the add a Image a pop up comes up but the ok and cancel buttons below the box are missing. If I copy the link to the Image pop up by clicking on the pop up and properties past this into my IE it comes up. It seams that the pop up for Image is fixed to a size that cuts out the bottom of this pop up page.

All other pop up pages are ok just the Image pop up.

This is strange as in your forum this is ok but in your demo of the RTE version 2.0 beta 2 the fault is the same as above.

Is there a peace of code I can change to re-size the image pop up window?

Thankz again



-------------
BoLt (Computer Engineer)
I suffer from Dyslexia, it means I can not spell to well not that I am thick.

www.welshlens.co.uk


Posted By: WebWiz-Bruce
Date Posted: 15 December 2004 at 12:47pm
I posted the anwser to your question in the mail RTE beta 2 topic yesterday:-

http://forums.webwiz.net/forum_posts.asp?TID=12776&PN=1&TPN=2&FID=17&PR=3 - http://forums.webwiz.net/forum_posts.asp?TID=12 776&PN=1&TPN=2&FID=17&PR=3

Should be the last post

It's to do with changing the default font size in IE.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net