Overall the editor seems to be working fine except for one odd little issue. If you have multiple instances on the same page (like in a form), IE 7 throws the following error for every instance on the page:

Line: 85
Char: 2
Error: Object required
Code: 0
URL: SITENAME/sites/all/modules/fckeditor/fckeditor/editor/fckeditor.html?InstanceName=TEXTAREANAME&Toolbar=DrupalFiltered

Apart from this, the editor itself works fine in every instance but when the page initially loads, the browser is automatically scrolled down to just above the first instance of the editor on the page. Disabling the editor fixes the problem. This does not happen in Firefox.

Comments

sreese’s picture

Title: Multiple Instances on the Same Page Cause Odd Behavior in IE 7 » Odd Behavior in IE 7

Upon further investigation/testing, I've found the error is thrown on every page where FCKeditor is invoked. Furthermore even if there is only one instance on the page, but that instance happens to require scrolling to get to, IE will "jump" down to where FCKeditor is.

wwalc’s picture

Status: Active » Postponed (maintainer needs more info)

Hi,

Could you try the latest version of FCKeditor module along with the 2.5.1 version of FCKeditor and let me know whether this bug still exist?

goosemoose’s picture

Any resolution for this? I have the same issue.

wwalc’s picture

Try upgrading to 5.x-2.x-dev, remember to clear your browsers cache after upgrading.

Leeteq’s picture

Is this still an issue?

elgrad.info’s picture

I have the same problem in Internet Explorer.
A panel has not yet shown the text box and when you turn off the images.

fckeditor 2.6.1
module last dev

elgrad.info’s picture

js tip out this error, even two:

Line: 85
Symbol: 2
Error: Object required
Code: 0
URL: SITENAME / sites / all / modules / fckeditor / fckeditor / editor / fckeditor.html? InstanceName = edit-comment & Toolbar = DrupalFull

and the same but different
URL: SITENAME / sites / all / modules / fckeditor / fckeditor / editor / fckeditor.html? InstanceName = edit-message & Toolbar = DrupalFull

wwalc’s picture

I tried: 5.x-2.x-dev (2008-Jun-20) + FCKeditor 2.6.1 + Drupal 5.7 + IE 7.0.5730.13 (XP SP3) and I can't reproduce this.
Please provide a list of steps required to reproduce this issue (including steps to create a webform for example) or a link to a place where this issue can be observed.
Also, please remember to clear your browser's cache before testing anything after upgrading.

elgrad.info’s picture

I have the same: 5.x-2.x-dev (2008-Jun-20) + FCKeditor 2.6.1 + Drupal 5.7

Any page site with a form, such as this: http://www.elgrad.info/blog/icq-system-12111
performed with errors.

I erase the cache.

wwalc’s picture

@elgrad.info

Comment out (or delete) the following code from fckeditor.config.js, clear browser's cache and try again

if ( FCK.GetData ) {
	FCKConfig.ToolbarSets["DrupalFull"][10].push('ShowBlocks') ;
	FCKConfig.ToolbarSets["DrupalFiltered"][9].push('ShowBlocks') ;
}

let me know if that helped.

It seems that this method of adding buttons is not error prone when toolbar is modified, so it should be definitely improved.

elgrad.info’s picture

First, apologize that you were deceived. Updates module at night, confused with the dates. Download now dev-date version, uploaded. Error seem to be gone, everything works. Thank you.

But another problem remained. When disables showing images in the browser, the editor does not load or text box, neither panel editor. Blanc in his place. What could be the problem?

wwalc’s picture

#11 is a problem with FCKeditor itself, FCKeditor module has nothing to do with it, I reported this issue here: http://dev.fckeditor.net/ticket/2180.

elgrad.info’s picture

Ок. Thank you.
Strangely, they released recently updated, but the problem persists.

wwalc’s picture

Status: Postponed (maintainer needs more info) » Fixed

Fixed in CVS, should be available tomorrow as dev release. When DrupalFull or DrupalFiltered toolbar set is modified, there should be no problems with loading FCKeditor (due to invalid code adding ShowBlocks button).

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.