12345678910111213141516 |
- CKEDITOR.plugins.add( 'twoGisLink', {
- icons: 'gis',
- init: function( editor ) {
- editor.addCommand( 'twoGisLink', new CKEDITOR.dialogCommand( 'twoGisLinkDialog' ) );
- editor.ui.addButton( 'twoGisLink', {
- label: 'Äîáàâèòü cñûëêó íà 2GIS',
- icon: this.path + 'icons/gis.png',
- command: 'twoGisLink',
- toolbar: 'insert'
- });
-
- CKEDITOR.dialog.add( 'twoGisLinkDialog', this.path + 'dialogs/twoGisLink.js' );
- }
- });
|