Hello everyone.
I made a custom dialog and add two textarea. but I don't know ...how to add a ckeditor.
plz give me a some hint.
thanks everyone.
I made a custom dialog and add two textarea. but I don't know ...how to add a ckeditor.
plz give me a some hint.
CKEDITOR.dialog.add( 'sample', function( editor )
{
var lang = editor.lang.about;
return {
title : CKEDITOR.env.ie ? 'msg(IE)' : 'msg',
minWidth : 700,
minHeight : 500,
contents : [
{
id : 'tab1',
label : '',
title : '',
expand : true,
padding : 0,
elements :
[
{
type : 'html',
html :
'<div>' +
'<textarea cols="30" id="editor0" name="editor0" rows="2"></textarea><br />' +
'<textarea cols="30" id="editor1" name="editor1" rows="3"></textarea>' +
'</div><script>'
}
]
}
],
buttons : [ CKEDITOR.dialog.cancelButton ]
};
} );
thanks everyone.
