Web Wiz Rich Text Editor ver 2.0 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=12501
Printed Date: 29 March 2026 at 4:25am Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Web Wiz Rich Text Editor ver 2.0 TESTING
Posted By: WebWiz-Bruce
Subject: Web Wiz Rich Text Editor ver 2.0 TESTING
Date Posted: 11 November 2004 at 2:55pm
After spending around 100+ hours over the last month on this I have
almost finished version 2.0 of the Web Wiz Rich Text Editor, but one
step I need to do before it’s ready for download is I need help with
testing the features for any bugs.
If you would like to help test the new features, then please go to the
following URL below and report back any errors that you may find in
this topic:-
http://www.richtexteditor.org/demo/ - http://www.richtexteditor.org/demo/
When reporting any problems please remeber to say what browser and version you are using so I can try and replicate the error.
The final version will also be integrated into the next version of Web Wiz Forums and Web Wiz Mailing List.
I also hope to make the new standalone version simpler to integrate into your own projects.
------------- 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: michael
Date Posted: 11 November 2004 at 3:18pm
Very nice bruce.
The preview icon (third icon) has the alt text of 'save'
It would be nice to see if i.e. BOLD or ITALIC is currently active, when I press it there seems to be no indication if it is.
I am not able to insert special characters, I can select them but they did not show.
------------- http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker
|
Posted By: WebWiz-Bruce
Date Posted: 11 November 2004 at 3:38pm
I will change the title on the preview icon.
With the RTE features of a browser enabled you can not execute
scriptinng making it very difficult to determine if the user has
selected an area where bold, ialic, etc. is enabled.
When you click on to insert a special character, what is the javascript
error you receive and what browser and version are you using??
------------- 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: 11 November 2004 at 3:45pm
Also, I forgot to mention, there is a bit of a bug with Mozilla, that
sometimes if the text area is not selected first things like special
characters will not be inserted.
I have tried to get round this bug in Mozilla by trying to force the content area into focus but still this doesn't always work.
There are some strange bugs with both the RTE implementations in IE and
Mozilla and some very strange habits and odd behaviours which is why I
have spent over 100+ hours trying to get round allot of the problems.
------------- 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: michael
Date Posted: 11 November 2004 at 4:20pm
You are right, when I set focus to the text area it does work. I was using IE6. When I insert the first time nothing happened, when i then clicked on special characters again, it worked. But playing with that I discovered another "bug" but that may have to do with the way you have the page setup. If I set focus (click) outside of the rte like to the left of it, it inserted special character on top of it as you see below. Thus I was not able to reproduce this when I closed the browsser and re-opened the page.

------------- http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker
|
Posted By: 808Rider
Date Posted: 11 November 2004 at 4:57pm
|
Looks very nice and clean -boRg-
Great job!
------------- PodcastPUP: http://podcastpup.com - http://podcastpup.com
808Talk: http://808Talk.com - http://808Talk.com
808TTV: http://808Talk.tv - http://808Talk.tv
|
Posted By: byfobi
Date Posted: 11 November 2004 at 5:34pm
perfect anyway goog Rich Text Editör.
------------- http://forum.takil.net
|
Posted By: WebWiz-Bruce
Date Posted: 12 November 2004 at 4:38am
Thanks Michael.
It's a bug with IE itself, that I have come across before that inserts
characters in a non Rich Text Enabled area, but I do remeber the fix I
used last time.
It's amazing how many strange bugs and quirks browsers have when you
start messing with Javascript and DHTML, and each browser is different.
------------- 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: MadDog
Date Posted: 12 November 2004 at 4:41am
-boRg-, have you ever tried to create a function for when someone presses enter it takes that and just enters "<br>" instead of "<p></p>"? I thought i saw something a long time ago on a java script websites that did that. If i run across it again ill post it.
------------- http://www.iportalx.net" rel="nofollow">
|
Posted By: Amateur
Date Posted: 12 November 2004 at 5:32am
|
Looking good boRg. Could not find any problems with it. Using IE6 and Windows 2000 Professional.
|
Posted By: WebWiz-Bruce
Date Posted: 12 November 2004 at 10:47am
MadDog wrote:
-boRg-, have you ever tried to create a function for when
someone presses enter it takes that and just enters "<br>"
instead of "<p></p>"? I thought i saw something a long time
ago on a java script websites that did that. If i run across it again
ill post it. |
Already done, if you use IE on the new editor, if you hit return it
puts in a <br> instead of <p>, so you don't get those
annoying double line spaces.
------------- 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: wenner
Date Posted: 12 November 2004 at 8:35pm
|
How to edit an instered picture ?
hit "inster image" button??a new window open,can't edit picture.
ps:ie6
|
Posted By: WebWiz-Bruce
Date Posted: 13 November 2004 at 5:57am
Could you please supply some more info as what you have said is not much to go on.
In what way can you not edit the picture?
What particular items fails?
What OS are you using?
------------- 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: Mart
Date Posted: 13 November 2004 at 8:53am
It's a great editor but I found 1 bug, the last font on the font list
is cut off (not sure what it is, I can't read it)... its on firefox
WINXP pro...
here's a screenshot: http://www.devjunkies.com/feed/richtext.jpg - http://www.devjunkies.com/feed/richtext.jpg
EDIT: The font that's cut off is Geneva
|
Posted By: WebWiz-Bruce
Date Posted: 13 November 2004 at 9:31am
I've found the problem, an extra " was preventing the 'Time New Roman'
font from being displayed in the correct format and so forced it to be
double lined in your browser.
Strange it didn't do that in my version of Firefox.
------------- 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: 13 November 2004 at 9:32am
I have now fixed the reported bugs and have also made a few other changes as well as making the RTE simpler to inegrate.
I have just finshed uploading the altered RTE, so if you could check to
see if you find any problems and bugs and let me know, it would be much
appreciated.
http://www.richtexteditor.org/demo/ - http://www.richtexteditor.org/demo/
I have also added a few generic querystrings in the form of QS1, QS2,
and QS3 to help pass data, ID fields, etc. to the textarea to be able
to prefill content etc.
The link below will show a demo of how the querysting can prefill content:-
http://www.richtexteditor.org/demo/?qs1=demo - http://www.richtexteditor.org/demo/?qs1=demo http://www.richtexteditor.org/demo/?qs1=demo -
------------- 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: xeerex
Date Posted: 13 November 2004 at 11:14am
Hi -borg-,
I just tested the new RTE. Very nice.
Here are 2 minor issues that I saw under FireFox 1.0 with WinXP.
- The "justify" button does not do a full justify. It appears to
only do a left justify exactly like the actual left justify button.
- If I insert a horizontal rule, then by default that rule is set
to size 2. If I try to use the HTML view and modify the size it will
not let me. I can manually edit most of the other tags, but that one
acts very odd.
Also, you mentioned that this one will be much easier to implement.
This issue was one of the reasons that I looked into some other editors
over your last one. If you can get it much easier to implement, then
I'm definitely "sold" on it. It looks great!
------------- http://webspacegeeks.com - Need Hosting, Domains, Dedicated Servers?
http://www.smartergeek.com - web design | pc support | training | podcasts | video production
|
Posted By: mack
Date Posted: 13 November 2004 at 12:07pm
Very nice job boRg, it looks great. Mozilla Firefox no longer types all weird :)!
Anythere, there is one bug I found. In IE, when you type a link
(www.webwiz.net) it automatically creates it as a LINK. In
Mozilla, as you can see it did not work. Even with http:// in front,
see: http://webwiz.net.
Another thing is the "Hyperlink properties". I don't see a point in
loading a "Preview". I can't even push OK on the dialog, because it
isn't enabled. Also, the preview page goes to http://www.altavista.com/
for some reason. I really don't see a point in a preview button for it.
If there is, explain please :)
Thank you and GOOD job!
|
Posted By: dpyers
Date Posted: 13 November 2004 at 12:32pm
|
-boRg- wrote:
MadDog wrote:
-boRg-, have you ever tried to create a function for when someone presses enter it takes that and just enters "<br>" instead of "<p></p>"? I thought i saw something a long time ago on a java script websites that did that. If i run across it again ill post it. |
Already done, if you use IE on the new editor, if you hit return it puts in a <br> instead of <p>, so you don't get those annoying double line spaces.
|
Using <br> instead of <p> replaces a block tag with an inline tag and screws up the list functionality.
A better solution would be an rte style sheet with <p> magin-bottom and padding-bottom set to 0.
-------------
Lead me not into temptation... I know the short cut, follow me.
|
Posted By: dpyers
Date Posted: 13 November 2004 at 12:34pm
Note: - when I tested the llist functionality it was with ie6. FF works ok.
-------------
Lead me not into temptation... I know the short cut, follow me.
|
Posted By: WebWiz-Bruce
Date Posted: 13 November 2004 at 12:49pm
xeerex wrote:
Hi -borg-,
I just tested the new RTE. Very nice.
Here are 2 minor issues that I saw under FireFox 1.0 with WinXP.
- The "justify" button does not do a full justify. It appears to
only do a left justify exactly like the actual left justify button.
- If I insert a horizontal rule, then by default that rule is set
to size 2. If I try to use the HTML view and modify the size it will
not let me. I can manually edit most of the other tags, but that one
acts very odd.
Also, you mentioned that this one will be much easier to implement.
This issue was one of the reasons that I looked into some other editors
over your last one. If you can get it much easier to implement, then
I'm definitely "sold" on it. It looks great!
|
I have exactly the same setup and I can not replicate either the problems you mention
------------- 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: 13 November 2004 at 12:56pm
mack wrote:
Very nice job boRg, it looks great. Mozilla Firefox no longer types all weird :)!
Anythere, there is one bug I found. In IE, when you type a link
(www.webwiz.net) it automatically creates it as a LINK. In
Mozilla, as you can see it did not work. Even with http:// in front,
see: http://webwiz.net.
Another thing is the "Hyperlink properties". I don't see a point in
loading a "Preview". I can't even push OK on the dialog, because it
isn't enabled. Also, the preview page goes to http://www.altavista.com/
for some reason. I really don't see a point in a preview button for it.
If there is, explain please :)
Thank you and GOOD job!
|
IE will turn any http://www.www.com address automactiacally into a
hyperlink, this is a built in fetaure of the browser and something that
Mozilla didn't put into their RTE implementation.
You should be able to insert a hyperlink without first previewing it.
The preview feature is only there so you can check the link is correct
before inserting it.
In Firefox if you enter a word instead of a hyperlink into the browser
address bar it will automactically do a google search and open up the
first site google returns in your browser window. As the preview
feature only opens a web page in the same way but in an iframe, if you
type just a word into the hyperlink space and click to preview it will
set Firefox off doing a google search and displaying the first page a
google search returns in the iframe.
------------- 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: 13 November 2004 at 1:07pm
dpyers wrote:
-boRg- wrote:
MadDog wrote:
-boRg-, have you ever
tried to create a function for when someone presses enter it takes that
and just enters "<br>" instead of "<p></p>"? I
thought i saw something a long time ago on a java script websites that
did that. If i run across it again ill post it. |
Already
done, if you use IE on the new editor, if you hit return it puts in a
<br> instead of <p>, so you don't get those annoying double
line spaces.
|
Using <br> instead of <p> replaces a block tag with an inline tag and screws up the list functionality.
A better solution would be an rte style sheet with <p> magin-bottom and padding-bottom set to 0. |
I did look into using CSS to set the <p> tag, but
then when you submit the form it will still be submitted with the
<p> tag so when you try and display the input in something like a
forum it will still have <p>, unless you use CSS to change all
<p> tags on the page it is displayed in, which isn't always
practicle.
The list functionality still works, but is a little quirly now, you
have to go to the begining of the last block ahd hit return to remove
the list from it.
The implementation I found at the moment is the best comprimise I can
find, I have tried many ways to do it differently using CSS etc. over
the last 3 years.
It's just a shame that IE have choose in their RTE implementaion to
have a <p> tag when you hit return and many people do complain
about it.
The only solution I have found is that now when you hit return, is that
it detects that a return key is pressed, then inserts a <br> tag
instead of a <p> tag.
It took me the best part of 8 or 9 hours or trial, error and testing to
come up with the following small function to insert <br> in IE
instead of <p>. (This function is for IE only, Firefox have
implemented the return key to insert a <br> tag already, so this
function isn't required for Gecko based browsers)
//Detect if the enter key is pressed
function IEkeypress(){
//run if enter key is pressed
if (frames.message.window.event.keyCode==13){
var editor = document.getElementById('message')
var selectedRange = editor.contentWindow.document.selection.createRange();
var parentElement = selectedRange.parentElement();
var tagName = parentElement.tagName;
while((/^(a|abbr|acronym|b|bdo|big|cite|
code|dfn|em|font|i|kbd|label|q|s|samp|select|small|span|st ri
ke|strong|sub|sup|textarea|tt|u|var)$/i.test(tagName))
& ;& (tagName!='HTML')){
parentElement = parentElement.parentElement;
tagName = parentElement.tagName;
}
//Insert <br> instead of <p>
if (parentElement.tagName == 'P'
|| parentElement.tagName == 'BODY' || parentElement.tagName == 'HTML'
|| parentElement.tagName == 'TD' || parentElement.tagName == 'THEAD' ||
parentElement.tagName == 'TFOOT'){
selectedRange.pasteHTML('<br >');
selectedRange.select();
return false;
}
}
return true;
} |
------------- 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: 13 November 2004 at 1:29pm
|
One suggestion I can think of for dealing with list elements would be to insert the <p> tag if the user uses shift-enter - the reverse of the way the current version inserts the <br> tag instead of a <p> tag.
Alternatively, you could insert <p class="rte" style="margin:0px;padding:opx;"> </p> around the ul/ol tags. Or instead of
selectedRange.pasteHTML('<br >');
| use the inline stle within the <p> tag to override any css margin/padding on the displayed page.
selectedRange.pasteHTML('<p style="margin:0px 0px 0px 0px;margin:0px 0px 0px 0px;>');
|
-------------
Lead me not into temptation... I know the short cut, follow me.
|
Posted By: huwnet
Date Posted: 13 November 2004 at 1:40pm
Posted By: WebWiz-Bruce
Date Posted: 13 November 2004 at 2:42pm
dpyers wrote:
One suggestion I can think of for dealing with list
elements would be to insert the <p> tag if the user uses
shift-enter - the reverse of the way the current version inserts the
<br> tag instead of a <p> tag.
Alternatively, you could insert <p class="rte" style="margin:0px;padding:opx;"> </p> around the ul/ol tags. Or instead of
selectedRange.pasteHTML('<br >');
| use
the inline stle within the <p> tag to override any css
margin/padding on the displayed page.
&nbs p;
selectedRange.pasteHTML('<p style="margin:0px 0px 0px 0px;margin:0px
0px 0px 0px;>');
|
|
I was considering have a <p> tag placed in when hitting shift-enter, but the problem I have run into is:-
To detect the enter being pressed you use the following:-
keyCode==13
But how or what key code do you use to detect shift-enter being pressed.
I did look into it but couldn't find anything on 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: 14 November 2004 at 7:08am
I have solved the problem of with ordered and un-ordered lists so that they work correctly in IE and it only took 3 hours.
After messing around trying to detect shift->enter for 2 hours, I finally gave up and looked into other ways to do it.
The <p> tag is still replaced with <br> in IE to prevent the double line spacing.
But now when you go to insert an ordered or un-ordered list it is
placed in a <div> block, this seems to prevent the problem that
previous text or text blocks would also be placed in the ordered or un-ordered list.
I have also tried cleaning up the main javascript file to bring down
the file size, so if people could please continue testing incase I have
made any errors in the javascript.
The link again to test the RTE is:-
http://www.richtexteditor.org/demo/ - http://www.richtexteditor.org/demo/
------------- 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: Sxar
Date Posted: 14 November 2004 at 9:18am
|
I found an error however I am unsure whether it was deliberate. When you push the font menu, size menu, and heading menu at the same time (or thereabouts), the RTE shows all three menus overlapping each other, rather than each menu disappearing when a new one is clicked. Hope that makes sense and I am not too picky!
Great RTE by the way!
|
Posted By: WebWiz-Bruce
Date Posted: 14 November 2004 at 12:12pm
I do know of this but decided it shouldn't be to much of a problem as
most people in general use wouldn't be clicking on each one then moving
straight onto the next, but if it is going to be a problem I could look
into trying to find a solution.
------------- 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: 14 November 2004 at 12:44pm
After altering the logic behind the showing and hiding of the menus,
I've come up with a solution that hides all other menus when a new menu
is clicked on.
------------- 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: MadDog
Date Posted: 14 November 2004 at 12:48pm
|
-boRg-, just wondering, how many files are there for the editor?
The last version had quite a few, making it kind of hard to intergrade it into something else, so was just wondering if maybe you made it a bit smaller or not.
------------- http://www.iportalx.net" rel="nofollow">
|
Posted By: WebWiz-Bruce
Date Posted: 14 November 2004 at 1:05pm
There are more files for things like iframes and pop up windows, but I
have named them better eg. RTE_iframe.... and RTE_popup.... and also
placed them in their own folder called RTE which can be anywhere on
your site you like for better file organisation.
I've also made it so that all you should need to do is enter the following to integrate it into your own application:-
<form name="frmAddMessage" method="post" action="display_message.asp">
<%
'Change this to the path to your RTE files
Const strPathToRTEFiles = "RTE/" 'This needs to hold the path to the RTE files
'The form name/id for the Rich Text Editor (RTE) textarea is 'message'
%>
<!-- include the rich text editor -->
<!--#include file="RTE/RTE_editor_inc.asp" -->
</form> |
The form tag is not in the editor files meaning that just a few lines
should mean that you can integrate it into any form on your site and
submit anywhere you want, just place in the include and the path to the
RTE files.
Also for those server side images etc. you can also use the setup file
to tell the editor to use full URL paths instead of relative paths so
that you are not tied down to a particular folder to display the result
in.
With the form tag being outside of the main files, it also means that
you can integrate it into any form on your site and post it to any page
your form is being submitted to.
3 generic query strings in the form of QS1 to QS3 are also included so
you can pass query strings to the page you include the editor in then
read in those query strings in the file RTE_textarea.asp to set the
content of the text area, such as data from a database etc.
Hopefully the changes should mean that most people can include the RTE in any form on their site with just 3 lines of code.
All features of the RTE can be enabled or disabled from the
RTE_setup.asp file as well as deciding if you want basic or advanced
controls for things like hyperlinks and inserting images.
------------- 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: Mart
Date Posted: 15 November 2004 at 5:11pm
|
It might just be me but in firefox I cannot delete a smiley with
backspace or the delete button, not even if I select it and I can't cut
the image either because it says "Your browser settings do not permit
the editor to perform 'cut' operations".
|
Posted By: WebWiz-Bruce
Date Posted: 16 November 2004 at 8:15am
Seems to work fine for me deleting emoticons in Firefox.
Unless you have your settings setup to allow cut operatitions in Firefox you will need to use the keyboard shortcut Ctrl-> X
The following article discribes how you can allow cut, copy, and paste
operatitions in Firefox using an RTE, but they do require editing your
prefernces file with a text editor:-
http://www.mozilla.org/editor/midasdemo/securityprefs.html - http://www.mozilla.org/editor/midasdemo/securityprefs.html
------------- 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: Mart
Date Posted: 16 November 2004 at 11:07am
|
hmm, I can't seem to cut them out with ctrl + x either, I will see if editing preferences works
|
Posted By: Lesko
Date Posted: 17 November 2004 at 1:32pm
|
Hi. Nice improvements.
I tried new editor and it works fine with IE, but is not working with Netcaptor http://www.netcaptor.com/ - http://www.netcaptor.com/ . All buttons that should iopen new window do not work, since netcaptor blocks all requests matching http://*popup - http://*popup and you have text popup in filenames. Maybe you should use some other name.
|
Posted By: cyberchiel
Date Posted: 19 November 2004 at 8:29pm
|
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 this comment also in the main thread, but I think it's better off in this one...)
|
Posted By: cyberchiel
Date Posted: 19 November 2004 at 11:08pm
|
I already found out what wrong with special characters...
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: WebWiz-Bruce
Date Posted: 20 November 2004 at 8:57am
Will the style for tables borders not effect tabes that are visable?
Also I as people use different character sets I plan on having the character encoding for the page in a sporate include file.
------------- 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: cyberchiel
Date Posted: 20 November 2004 at 9:13am
|
boRg, I tried it with the TD-style. The style used by the user will overrule this style. So it will not be a problem.
I like it, because this was the only reason that a user needed to be in the coding-view: to enable/disable the border. Now I can disable the coding-button to protect all formats.
|
Posted By: cyberchiel
Date Posted: 20 November 2004 at 10:36am
|
Another little tip...
If your editor submits to a database, one will not want the submit button enabled after it is pushed...
I added the onSubmit to the form: <form name="frmAddMessage" method="post" action="RTE/display_message.asp" onSubmit="document.getElementById('Submit').disabled=true; ">
(onSubmit will not fire when submit-return=false)
|
Posted By: WebWiz-Bruce
Date Posted: 20 November 2004 at 10:39am
I've had a play around with it and it does seem to be something worth adding to the next version.
Thanks :)
------------- 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: cyberchiel
Date Posted: 20 November 2004 at 10:41am
|
Found another little bug: When the filename of an image is longer than 20 characters, you cut it. But then the file is not usable, since the preview uses the cut name.
I replaced the strFileName with a showname-var to the RTE_file_browser.asp:
'Check the length of the file name is not to long If Len(strFileName) > 21 Then showstrFileName = Trim(Mid(strFileName, 1, 20)) & "..." & strFileExtension else showstrFileName = Trim(strFileName) End If
and then use showstrFileName to display the file:
vbCrLf & " <td class=""fileText"" width=""58%""><img src=""" & strImagePath & strFileIcon & """ align=""absbottom"" id=""ico" & intElementIDno & """ title=""" & strFileName & """ border=""0"">" & showstrFileName & "</td>" & _
|
Posted By: WebWiz-Bruce
Date Posted: 20 November 2004 at 11:00am
I thought there was a reason why I had title=""" & objFSOfile.Name
& """, but I changed it to what it is now thinking I must have just
overlooked it.
Thanks ofr pointing it out.
------------- 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: cyberchiel
Date Posted: 20 November 2004 at 11:23am
|
You're welcome!
I like to say that I really like what you did with the file-browser.
I even started to make more little icons :) If you like: 
For me I added some more functionallity. Maybe these can be considered suggestions for your comming release?
- A delete/rename option in the file-browser (I use an action-bullet in front of the filename). - A resize option after the upload, using the http://www.aspjpeg.com - ASPJPEG-component . (this way the file really gets smaller, instead of just adjusted height/width). (with ASPJPEG you can alter almost every property of the image)
|
Posted By: dj air
Date Posted: 20 November 2004 at 1:30pm
cyberchiel wrote:
Another little tip...
If your editor submits to a database, one will not want the submit button enabled after it is pushed...
I added the onSubmit to the form: <form name="frmAddMessage"
method="post" action="RTE/display_message.asp"
onSubmit="document.getElem entById('Submit').disabled=true; ">
(onSubmit will not fire when submit-return=false) |
its best to submit the form via .js, becase even wirth the submit button disabled you can press return to submit again.
<--- edit -->
have the button trigger the .js that way you can't submit twice and as
javascript has to be enabled anyway. it prevents wrong submissions
|
Posted By: cyberchiel
Date Posted: 20 November 2004 at 6:27pm
|
Hmmm, dj air, I'm not sure I can follow you... Personaly, I think that's too much trouble for something simple like this... If the user wants to submit twice, then he'll be my guest to return to the form. I just wanted to prevent an immediate double-click on the submit-button.
But of course it's up to -boRg-... ;)
|
Posted By: cpumenace
Date Posted: 26 November 2004 at 6:22am
|
First, I absolutely love the RTE! I do have a little bug though... I can't seem to align the first line of text center and then, after hitting return, the next line left. I can only make it work after going to the Toggle HTML and adding a /p manually. I read through the posts and think I understand where the delima is, but was curious to see if I am just missing something (really new to programming). Let's say I wanted to have a title (aligned center), then a paragraph (aligned left), then another title (centered) followed by yet another paragraph (left). I tried it in the demo of the older version and it seems to work there. Any idea if this will be doable? Really appreciate how hard you all work at this to help us newbies out! Thanks!!
------------- CpUmEnAcE
|
Posted By: WebWiz-Bruce
Date Posted: 26 November 2004 at 8:02am
On what browser and version do you get this problem??
------------- 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: cyberchiel
Date Posted: 26 November 2004 at 10:21am
cpumenace, I experienced the same.
-boRg-, I think what we miss is an option to start a <p>. Because you replaced the original default linebreak (which was <p>), there is no possibility to force a new <p> without using the editor.
|
Posted By: WebWiz-Bruce
Date Posted: 26 November 2004 at 1:32pm
I have found a way to solve the problem.
Instead of replacing the <p> tags with <br> I'm now replacing them with <div>
This keeps the single line spacing and also the block formatting so things like text aligning and bulleted lists still 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: dpyers
Date Posted: 26 November 2004 at 2:01pm
-boRg- wrote:
I have found a way to solve the problem.
Instead of replacing the <p> tags with <br> I'm now replacing them with <div>
This keeps the single line spacing and also the block formatting so things like text aligning and bulleted lists still work.
|
-------------
Lead me not into temptation... I know the short cut, follow me.
|
Posted By: cpumenace
Date Posted: 03 December 2004 at 4:00pm
You rock! It works great now!
Thanks!
------------- CpUmEnAcE
|
Posted By: HockeyJon
Date Posted: 17 December 2004 at 5:49am
|
We are currently using on of the early versions of this Rich Text Editor on a multi user and multi IE format level. Recently we have become aware of problems with the formatting not working on IE6. To fix this we are looking to replace it with the newer version but just want to check that this will fix the problems that we have been experiencing.
Any Info would be useful
|
Posted By: WebWiz-Bruce
Date Posted: 17 December 2004 at 6:17am
It's hard to anwser your question as you haven't mentioned what formatting problems you are on about.
------------- 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: HockeyJon
Date Posted: 17 December 2004 at 6:25am
|
The main problem is that IE6 users aren't able to use the formatting buttons along the top (ie Bold, underline, insert image or hyperlink etc.)
Hope this is a bit clearer.
|
Posted By: dpyers
Date Posted: 24 December 2004 at 10:51am
|
Are you using two RTE's on one page?
-------------
Lead me not into temptation... I know the short cut, follow me.
|
Posted By: WebWiz-Bruce
Date Posted: 24 December 2004 at 2:21pm
You need to have Javascrip enabled on your web browser.
Could also be a corrupted file.
Also this program will not work with most free web hosts as the adds
they inject into the page will prevent the javascript files from
running.
------------- 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: HockeyJon
Date Posted: 04 January 2005 at 3:44am
|
Thanks for all the replies but we have since managed to locate the source of the problem and have fixed it.
|
|