RTE FireFox "Error inserting object"
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=21088
Printed Date: 09 April 2026 at 5:04am Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: RTE FireFox "Error inserting object"
Posted By: n7Epsilon
Subject: RTE FireFox "Error inserting object"
Date Posted: 20 August 2006 at 1:02pm
Hi, I have found a problem on a vanilla installion of Web Wiz Forum version 8.03. This did not occur with RTE version 1 (v7.97).
This problem occurs in FireFox 1.5.0.6 on Windows and happens in this forum too.
If you go to new_topic_form.asp (by creating a new topic) then without clicking on the text-area or entering a subject, insert an emoticon. 1st time it will work but cursor does not appear inside the text-area. Second time an error pops-up: "Error inserting object at current location".
After you click OK on this error and then click inside the text-area (the iframe), you will find the cursor after the 1st image and backspace cannot delete the emoticon that was inserted the 1st time.
This doesn't happen if you click in the text area and type some text first before trying to insert the emoticon.
This also happens (but to a lesser degree) if you press ENTER to make a new line and then try to insert an emoticon twice, (but in this case Backspace successfully deletes the inserted emoticon).
Is there anyway this can be corrected (editing the javascript generated by the RTE_Javascript.ASP file ?) or is there something I am missing ?
|
Replies:
Posted By: WebWiz-Bruce
Date Posted: 20 August 2006 at 5:11pm
This is actually a bug within the Gecko (Firefox) RTE API.
The alert box that pop's up saying 'error inserting object in current location' was added to catch this error in the API and prevent the browser from crashing.
Under most circumstances you will never see this message unless you do not first place the cursor in the RTE area, or the cursor fails to return to the RTE area after you insert an object such as an image. Again there is a bug in the Gekco API which means in some circumstances the focus fails to return to the RTE area after an object such as an image is inserted.
------------- 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: n7Epsilon
Date Posted: 20 August 2006 at 10:06pm
Is there a reason backspace (\b) stops working when this happens in the full blown editor (in the post reply page ?)
and 2nd thing, this did not happen at all in version 7.97 (in a site using it) (under the same test conditions), is there a way for me to revert the insert emoticon funtion to the version used in v7.97 or would that be impossible to accomplish ?.
And 3rd, I can't seem to find a link to download the older version of Web Wiz (for investigating this further), is it available from this site ?
Thanks for the information :)
|
Posted By: WebWiz-Bruce
Date Posted: 21 August 2006 at 9:20am
In the old 7.97 RTE an execCommand to insert an image was run to insert images in the midas API, but in the new RTE this wasn't possible as alt, etc. tags are also used to fit in with web standards more so a different way of inserting an object is used.
To put back in the old RTE into the new version would take many hours of trial and testing if not weeks.
Old versions are not available as they are not supported.
------------- 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
|
|