hi. all:
I want open a popup window when clicked ckeditor toolbar button.
this window is not the ckeditor's dialog window. the ckeditor's dialog is not I need.
how to do this?
thanks very much....
I want open a popup window when clicked ckeditor toolbar button.
this window is not the ckeditor's dialog window. the ckeditor's dialog is not I need.
how to do this?
thanks very much....

Re: How to open a window/link when click the toolbar button.
var pluginName = 'quickupload'; editor.addCommand( pluginName, new CKEDITOR.command( editor, { exec : function( editor ) { window.open ('a.html') } }) ) ; //reg a button for excute this plugin editor.ui.addButton('QuickUploadButton', { //button UI setting title : 'Quick Upload Img', icon : CKEDITOR.getUrl( this.path ) + 'images/upload.jpg' , command : pluginName });