Hi,
I'm trying to develop my own CKeditor plugin, but I'm having trouble integrating a file browser.
In my dialog, I added this element :
When I click on the browse button, everything seems to work perfectly (I use CKfinder), but when I double click on a file, nothing happens, while I would expect my textbox to be filled with the file URL.
Any clue ?
Regards,
I'm trying to develop my own CKeditor plugin, but I'm having trouble integrating a file browser.
In my dialog, I added this element :
children :
[
{
id : 'src',
type : 'text',
label : ''
},
{
type : 'button',
id : 'browse',
filebrowser : 'info:src',
hidden : true,
align : 'center',
label : editor.lang.common.browseServer
}
]
When I click on the browse button, everything seems to work perfectly (I use CKfinder), but when I double click on a file, nothing happens, while I would expect my textbox to be filled with the file URL.
Any clue ?
Regards,

Re: file browser in custom plugin
I'm still unable to find the source of the problem.
Can anyone help me ?
Re: file browser in custom plugin
info:src
info = the id of a tab, is that the id that you have used?
src = the id of a text element
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: file browser in custom plugin
I attached the plugin files to this message.
I have one remaining problem : how do I get the value of this button in the onOk event ?
BTW, it would be great to have MP3 and video players integrated within ckEditor.
Attachments: