Hello!
I made my plugin and create dialog window like this:
(function() {
CKEDITOR.dialog.add( 'myplugin', function( editor )
{
return {
title : 'Title dialog',
contents : [
{
id : 'tab1',
label : 'Label',
title : 'Title1',
elements :
[
{
type: 'button',
id: 'button1',
label: 'button1',
onClick: function()
{
}
},
{
type: 'button',
id: 'button2',
label: 'button2',
onClick: function()
{
}
}
]
}
],
buttons : [
CKEDITOR.dialog.okButton, CKEDITOR.dialog.cancelButton
],
};
});
})();
I need when click on BUTTON1 to change title of dialog window and when click on BUTTON2 - change button1 label.
i dont understand how can i do it. help me please.
