﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
236	Support for shared toolbar in a different frame	Martin Hejtmanek	Martin Kou	"Hello,

There are some issues when we use shared toolbar in a separate frame, could you please have a look at that and see if you can fix or add support for those?

We use toolbar location: ""Out:parent.frames['edittoolbar'](FCKToolbar)""
and <div id=""FCKToolbar""></div> within the target frame

Everything works fine, but:

In Firefox, the popup dialog (like color selection) does not overlap the frame border and it is useless for that reason. In IE works fine. We have made the quick fix to support displaying the dialogs within different frame and I think it would be wise to include that in your code, here are the changes:

In function: var FCKPanel = function( parentWindow ) at classes/FCKPanel.js change

this._Window.document.body.appendChild( oIFrame );

to

if ( (FCKConfig.PopupWindowFrameName != null) && (FCKConfig.PopupWindowFrameName != '') && (this._Window.parent != null) && (this._Window.parent.frames[FCKConfig.PopupWindowFrameName] != null) ) 
    this._Window.parent.frames[FCKConfig.PopupWindowFrameName].document.body.appendChild(oIFrame); 
else
    this._Window.document.body.appendChild( oIFrame );

And add the configuration setting FCKConfig.PopupWindowFrameName as a string which determines target frame name for the popup windows.


The second issue is that in IE displaying the very same popup dialogs it seems like the editor area is loosing the focus. This seems to occur ramdomly, but mostly the focus is lost and the chosen format is not applied. This works fine in FF, focus is kept over there.


I would be really glad if you could have a look at the whole ""different frame toolbar"" problematics, I am sure it would actually help many users using your product.

Thank you for your time, your product is great.

Best regards
Martin Hejtmanek

* Kentico Software
* Kvetna 4, 603 00 Brno, Czech Republic
* Phone: +420 544 527 146
* U.S. Toll Free: 1-888-225-2767
* E-mail: martinh@kentico.com
* WWW: http://www.kentico.com

* we help you deliver better web sites 
"	Bug	closed	Normal	FCKeditor 2.5 Beta	General	FCKeditor 2.3.2	wontfix		
