CKEDITOR.plugins.add( 'hianamedia', { icons: 'hianamedia', init: function( editor ) { editor.addCommand( 'hianamedia', { exec: function( editor ) { openKCFinder_Content(); //var now = new Date(); //editor.insertHtml( 'The current date and time is: ' + now.toString() + '' ); } }); editor.ui.addButton( 'hianamedia', { label: '多媒体中心', command: 'hianamedia', toolbar: 'insert' }); } });