ckeditor我自定义了一个弹窗插件,我该如何添加 事件!例如:
{
title : 'Sample dialog',
minWidth : 390,
minHeight : 130,
contents : [
{
id : 'tab1',
label : 'Label',
title : 'Title',
expand : true,
padding : 0,
elements :
[
{
type : 'html',
html : '<p>This is some sample HTML content.</p>'
},
{
type : 'textarea',
id : 'textareaId',
rows : 4,
cols : 40
},
{
id:'bot',
type:'button'
}
]
}
],
};
怎么给里面的 button按钮添加事件 !
里面的Button都有自己的事件,比如点击事件,你要找到对应的Js 文件,FckEditor一般都有Js文件的