Hi,
I try to use an imanager (or ibrowser) in plugin. I found the solution to implement this plugin.
The process :
in config.js, I insert this line
config.extraPlugins = 'imanager';
in the plugin folder, I created a directory with imanager in this directory : i created a file plugin.js inside this file, I have inserted this line :
CKEDITOR.plugins.add('imanager',
{
init: function(editor)
{
var pluginName = 'imanager';
editor.ui.addButton('imanager',
{
label: 'imanager',
command: pluginName,
icon:this.path+"/images/imanager.gif",
click: function (editor) { window.open(CKEDITOR.basePath + 'plugins/imanager/imanager.php','imanager','width=900,height=600'); }
});
}
});
This plugin work fine, i can click on my button imanager (toolbar ckeditor) to see the imanager filebrowser.
But : When I insert an image in imanager and I clic to insert, I haven't image in the WYSIWYG ckeditor.
Do you have a solution on this problem ?
Thanks you for your help