How to call file browser of ckeditor from plugin?

302 views Asked by At

I need to call widow of dialog "filebrowser" from ckeditor. I tried to call the plugin via the command CKEDITOR.instances.editor1.execCommand('filebrowser') but did not help.

2

There are 2 answers

6
Joel Peltonen On

Try the following incantation:

CKEDITOR.instances.editor1.commands.image.exec();
0
sam On

Try: CKEDITOR.instances.editor1.commands.image.exec();