1CKEDITOR.plugins.add("tags", 2 { 3 icons: 'tag', 4 lang: [ 'en', 'de'], 5 init: function(editor) { 6 CKEDITOR.dialog.add( 'tagsDialog', this.path + 'dialogs/tags.js' ); 7 editor.addCommand( 'editTags', new CKEDITOR.dialogCommand( 'tagsDialog') ); 8 editor.ui.addButton( 'Tags', 9 { 10 label: 'Tags', 11 command: 'editTags', 12 toolbar: 'insert', 13 icon: this.path + 'images/icon.png' 14 } 15 ); 16 } 17 } 18);