﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4204	writing in ckdialog via popup is impossible	hebuiss42		"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>
}}}
"	Bug	closed	Normal		General	3.0 RC	invalid		
