I would like my plugin to do the following:
Have a comboBox populated through a query to the database, after selecting, inserting this value in the editor .... please help
tks
Have a comboBox populated through a query to the database, after selecting, inserting this value in the editor .... please help
CKEDITOR.dialog.add( 'metacampos', function( editor )
{
var lang = editor.lang.metacampos;
return {
title : lang.title,
minWidth : 390,
minHeight : 230,
contents : [
{
id : 'tab1',
label : '',
title : '',
expand : true,
padding : 0,
elements :
[
{
type : 'select',
id : 'selMetacampos',
'default' : '',
label : 'Test',
items : //?????????????????????????????
[
[ '1', 'value1' ],
[ '2' , 'value2' ],
[ '3' , 'value3' ],
[ '4', 'value4' ]
],
},
]
}
],
};
} );
tks
