简体   繁体   English

如何从插件调用ckeditor的文件浏览器?

[英]How to call file browser of ckeditor from plugin?

I need to call widow of dialog "filebrowser" from ckeditor. 我需要从ckeditor调用对话框的寡妇“ filebrowser”。 I tried to call the plugin via the command CKEDITOR.instances.editor1.execCommand('filebrowser') but did not help. 我试图通过命令CKEDITOR.instances.editor1.execCommand('filebrowser')调用插件,但没有帮助。

尝试以下咒语:

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

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM