Print Page | Close Window

Web Wiz Rich Text Editor v3.0 b2 TESTING

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=13607
Printed Date: 28 March 2026 at 8:59pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Web Wiz Rich Text Editor v3.0 b2 TESTING
Posted By: WebWiz-Bruce
Subject: Web Wiz Rich Text Editor v3.0 b2 TESTING
Date Posted: 02 February 2005 at 6:53am
The latest version of Web Wiz Rich Text Editor v 3.0 beta 2 has been released.

This latest update fixes the permission denied bug some older versions of IE suffered from.

This new version on the surface, except for the 'Paste from Word' tool, looks identical to version 2.0, but underneath the code has been re-written to make it much simpler to integrate the Web Wiz Rich Text Editor into your own forms.

The latest version allows you to take any HTML textarea and with just 4 lines of code turn it into a WYSIWYG Editor. Well at least that's the theory.

No more messing with transferring data to an iframe.
Any content, even HTML, within your forms textarea is automatically transferred to the RTE (WYSIWYG) Editor, making version 3.0 much simpler to integrate than previous versions.

You can download the new version at:-

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

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

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

-------------
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: emanresu
Date Posted: 03 February 2005 at 1:44am

Hi,

We have a shopping cart software called http://www.ashopcommerce.com - www.ashopcommerce.com and use the older version of this rich text editor. We specifically need a flash file upload and can't find it in this new system. Do you know how we can enable this with the new beta version?
 
Thanks


Posted By: WebWiz-Bruce
Date Posted: 03 February 2005 at 5:31am
There isn't support for flash file upload, this is something you would need to write yourself.

-------------
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: FuSioNmAn
Date Posted: 03 February 2005 at 12:21pm
I tryed your beta 2 editor...
I've find some problems because the paths are relative (es. images/image.gif) and not dinamic-absolute (es. /mydirvariable/image.gif).
 
Is there a way to control if textarea is empty?
Thank you and scuse me for my englishTongue


Posted By: WebWiz-Bruce
Date Posted: 03 February 2005 at 1:03pm
You can edit the 'configuration/RTE_setup_asp' file and tell the editor to use the full URL path to things like images so it would be 'http://mydomain/image/image.jpg'

Not sure what you mean by, 'Is there a way to control if textarea is empty?'

-------------
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: ChubbyArse
Date Posted: 10 February 2005 at 9:31am

Another cracking offering from WebWiz.........

Just an idea, I fully appreciate the problems that you have with images paths, and you can't stick them in a sub directory, so a suggestion:
 
Could you rename all the asp files and directories which sit in the main directory to have an underscore at the front, this would mean that all the files for the RTE would be bunched together.
 
As soon as I add a file called Content_Add.asp, the file is immediately lost. At least if all files relating to the RTE were bunched together, it would allow you to see which files were there for the RTE, and which are for your web app????
 
What do you think????
 
Alex


Posted By: WebWiz-Bruce
Date Posted: 11 February 2005 at 7:20am
I have tried to name all the files with either RTE or non-RTE in front of them for version 3, so that they are all bunched together.

The files with RTE in front are the files for RTE enabled browsers and the non-RTE files are for those browsers that are not RTE enabled.

There are two other files that don't have this naming convention, one is the default.asp page and the other is the submission page, both these files are for example use and therefore can be deleted.


-------------
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: stafford
Date Posted: 16 February 2005 at 11:57pm
This error drove me crazy for a good 45 minutes. RTE appears to work correctly. I hit the "Preview " button and get a preview of a different page in the site, not what is currently in the "RTE'd"text area. I narrowed it down to the fact that I had the  field in the form:

    <input type=hidden name=action     id=action     value="edit">

If I take that out the preview works fine. Pass the value thru a text box I still get the incorrect Preview.  If I take the field out completely all is fine.  Any ideas?


Posted By: WebWiz-Bruce
Date Posted: 17 February 2005 at 4:40am
The word 'action' is a reserved word in JavaScript and is used in the RTE to refer to the 'action' of the form. Other ID names that can not be used are:-
  • action
  • submit
  • reset
  • WebWizRTE
  • pre
  • toolbar
  • ToolBar1
  • ToolBar2
  • command
  • colourPalette
  • formatFont
  • fontSelect
  • textSize
Haven't come across any others yset though.

-------------
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: dpyers
Date Posted: 17 February 2005 at 7:20pm
Is this the version you're currently using on the 8.0 alpha1 forum here?
Noticed that as of a day or two ago, the text area in the rte is the default background color of the browser. Used to always be white regardless of the browser's default background.


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

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


Posted By: WebWiz-Bruce
Date Posted: 18 February 2005 at 5:21am
The background colour should be set to white, I'll have to look into it.

-------------
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: 18 February 2005 at 5:36am
Found the problem, looks like for some reason IE wasn't picking up the backgroud-color style for the RTE textbox.

I've now moved it, and it seems to 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: Harold.Rau
Date Posted: 18 February 2005 at 4:18pm
A couple of questions. Can I use multiple instances of the rte within one form? Can the content be stored in a SQL database?
Any suggestions or guides on how to do the above?


Posted By: WebWiz-Bruce
Date Posted: 19 February 2005 at 5:40am
You can not use mutiple RTE's on the same page.

An SQL Server database can be used to store submitted data.

Just create your HTML entery forms and the submit page that enters the data into the database as normal. Then follow the instructions that come with the RTE on how to apply the RTE to one of your textarea's transforming it into an RTE area


-------------
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: WebFred
Date Posted: 21 February 2005 at 9:30am
Hi BoRg
 
Any likely date that V3 will become ready for live sites, It looks good to me and the integration is far simpler than V2. keep up the good work
 
Cheers


Posted By: WebWiz-Bruce
Date Posted: 21 February 2005 at 9:37am
It kind of is ready.

But having integrated it into this forum it allows more users to test it and from a few reports it sounds like a few minor changes are in order.

I'm going to probably give it to early next week to see if any other problems are reported and if not I will release the full 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: g_ozyurt
Date Posted: 02 March 2005 at 3:33pm
Hi BoRg,
 
You will probably remember my problem with the hyperlink in RTE v3b2. I found the thing in my asp page that makes problem.  It is the <a name="mylocation"> statement and the link href "#mylocation" to that location.
 
After I deleted the # stuff, hyperlinks are also working. Thanks for your help. 
 
 
 


Posted By: GlamKitten
Date Posted: 02 March 2005 at 4:09pm
I've tried to MOD this so that it can be run from it's own folder. It was messy and overwrote some of my images & files otherwise. The first thing to do is add a new variable for the location of your installation. I put mine in a folder called RTE off my root folder.
 
Open RTE_configuration\RTE_Skin_file.asp
 
Go Line 54 & change:
 
'Path to button images
Dim strImagePath = "images/"
 
to:
 
'Path to button images
Const strRTEPath = "rte/"
Dim strImagePath
strImagePath = strRTEPath & "images/"
 
(this fixes the images in the toolbars)
 
Then open RTE_javascript.asp
 
Line 202: src=""includes/RTE_iframe_colour_palette.asp""
Becomes:  src=""" & strRTEPath & "includes/RTE_iframe_colour_palette.asp""
 
Do the same thing for lines 207, 212, 217 (this adds our installation path for our popups).
 
The open up includes\RTE_toolbar_inc.asp
 
Do a search and replace on winOpener(\'
so that it becomes winOpener(\'" & strRTEPath & "
 
There should be 10 replacements, again this fixes the path to our popups windows.
 
Finally go into RTE_editor_inc.asp itself
 
Before Line 66 add in the path to our installation
 
Const strRTEPath = "rte/"
 
Now we can use that on the following lines to point to the correct javascript include files.
 
Line 67: Response.Write("<link href=""RTE_configuration/default_style.css"" rel=""stylesheet"" type=""text/css"" />")
becomes: Response.Write("<link href=""" & strRTEPath & "RTE_configuration/default_style.css"" rel=""stylesheet"" type=""text/css"" />")
 
Line 68: Response.Write(vbCrLf & "<script language=""JavaScript"" src=""/RTE_javascript_common.asp"" type=""text/javascript""></script>")
Becomes: Response.Write(vbCrLf & "<script language=""JavaScript"" src=""" & strRTEPath & "RTE_javascript_common.asp"" type=""text/javascript""></script>")
 
Line 75: Response.Write(vbCrLf & "<script language=""JavaScript"" src=""/RTE_javascript.asp?textArea=" & Server.URLEncode(strTextAreaName) & """ type=""text/javascript""></script>")
becomes: Response.Write(vbCrLf & "<script language=""JavaScript"" src=""" & strRTEPath & "RTE_javascript.asp?textArea=" & Server.URLEncode(strTextAreaName) & """ type=""text/javascript""></script>")
 
 
It works for me like this although I've not tested it very thoroughly and i've noticed that thigns like the image browser still need a little tweaking. I've no doubt missed some other things as well, but hopefully people who wish to run the RTE like this will find this a good start. Perhaps even -borg- if you want can change the main installation to do this as I think most people will find it easier not have the files in their main application folder.
 
And indeed thanks for yet another wonderful application.


Posted By: WebWiz-Bruce
Date Posted: 03 March 2005 at 4:35am
I did spend about 30 hours trying to make it so it could run in it's own folder but there where to many path issues.

Problems with image and files occur with iserting images, uploading files, the file browser, saving files, and even when you submit the form there are many issues with paths.


-------------
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: GlamKitten
Date Posted: 03 March 2005 at 7:49am
Yeah I guess what I did was only a small part of what was necessary to get the whole thing working. I'm not using the image insert or file upload myself for what I'm using it for just now so I hadn't looked at those parts of it very much. I'll probably keep working on it though and will post a more complete MOD later on if people want it.


Posted By: Ka36ek
Date Posted: 07 March 2005 at 11:49am

During localizing RTE to Russian I found a problem:

changing of page encoding is not enough, if server has 1033 locale
in eache separate file to do this task
changing Session.LCID do not give such result
 


Posted By: Ka36ek
Date Posted: 07 March 2005 at 11:58am
I have another problem:
on my testing machine and even on http://www.richtexteditor.org/demo/ - http://www.richtexteditor.org/demo/
 
I can not open saved file with IE 6 sp1 russian
ie reports that error is ocured at line 28 symbol 4
 
"document.getelementbuid(...)contentWindow.document is null or is not an object"
 
on testing server error happens at 29 line
 
sorry for offtopic, can anybody say is the Open University (GB) a popular in England? Please send me a private message


Posted By: WebWiz-Bruce
Date Posted: 07 March 2005 at 2:09pm
Looks like you have a corrupted file somehow it should be:-

getElementById


-------------
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