#4204: writing in ckdialog via popup is impossible
-----------------------+----------------------------------------------------
 Reporter:  hebuiss42  |       Owner:                 
     Type:  Bug        |      Status:  new            
 Priority:  Normal     |   Milestone:                 
Component:  General    |     Version:  CKEditor 3.0 RC
 Keywords:             |  
-----------------------+----------------------------------------------------
 Browser: Firefox 3.5 OS: Windows XP
 Version fo CKEditor: 3.0 RC

 It is not possible to write data from an opened popup into a textinput
 field of a ckeditor's dialog.

 Example: You're manually adding a button in the "insert link dialog",
 which opens a new popup with a selection of links. The user selects one of
 these links, but then it is impossible to tell the ckeditor dialog, which
 link has been selected.

 Reason: Every textinput field seems to have a random ID (e.g.
 '65_textInput'). Additionally, when having multiple editor instances,
 every editor uses another ID for the text input field in the same dialog.
 Therefore, it is impossible to get a lock on this input via
 "opener.getElementById('textInput')".

 Possible solution: Every object should have a property like "getRealId()",
 so one could execute the popup like this:

 {{{
 <a href=""
 OnClick="javascript:window.open('popup.html?wirteBackId=textInput_1337','My
 Popup','');">Open Popup</a>
 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/4204>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
FCKeditor-Trac mailing list
FCKeditor-Trac@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to