CKEditor ~ min height

var config ={
extraPlugins : 'autogrow',
removePlugins : 'resize',
defaultLanguage :'zh',
autoGrow_minHeight : 20,
toolbar : [
{ name: 'document', items : [ 'Source' ] },
{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },
{ name: 'insert', items : [ 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe' ] },
{ name: 'styles', items : [ 'Styles','Format','Font','FontSize' ] },
{ name: 'colors', items : [ 'TextColor','BGColor' ] },
{ name: 'tools', items : [ 'Maximize', 'ShowBlocks','-','About' ] }
]
};

$('#schedulePanel textarea.editor').ckeditor(config);


reference
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.dialogDefinition.html

沒有留言:

發佈留言