#2599: Allow an arbitary query string, and propogate it to dialog boxes
-------------------------------+--------------------------------------------
 Reporter:  kennardconsulting  |       Owner:     
     Type:  New Feature        |      Status:  new
 Priority:  Normal             |   Milestone:     
Component:  UI : Dialogs       |     Version:     
 Keywords:                     |  
-------------------------------+--------------------------------------------
 Hey guys,

 Thanks so much for FCKEditor - it really is a superb piece of work and you
 deserve all your success. I have a small feature request:

 In FCKeditor._GetIFrameHtml, you do...

 {{{   if (this.ToolbarSet) sLink += '&Toolbar=' + this.ToolbarSet;}}}

 ...I would like to see this capability extended so that I can attach
 arbitrary things to the query string. For example...

 {{{   new FCKEditor( 'x' ).extraParameters = 'foo=bar';}}}

 ...which, in turn, get passed to every dialog box...

 FCKDialogCommand.prototype.Execute = function() {
       FCKDialog.OpenDialog( 'FCKDialog_' + this.Name, this.Title, this.Url
 + '?' + this.extraParameters

 Why do such a thing? One of the best features (for me) about FCK is being
 able to tweak the dialog boxes to suit my needs. For example, I tweak
 fck_image.html and insert some server-side script to turn the image box
 into a dropdown SELECT of available images.

 To do this at the moment, I have to override FCK in a number of places to
 feed a query parameter from my top-level page (the one that includes the
 TEXTAREA) into the image dialog box.

 Native support for passing parameters along would be neat.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2599>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to