X-Git-Url: https://svn.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/f4ee7f0b516759f9c90055bd9e51450ef058790f..4bd080d5604dd3d2f4b172f061903f50df295234:/skins/ckeditor/plugins/plinn_image/plugin.js diff --git a/skins/ckeditor/plugins/plinn_image/plugin.js b/skins/ckeditor/plugins/plinn_image/plugin.js index afa30ce..442a2be 100644 --- a/skins/ckeditor/plugins/plinn_image/plugin.js +++ b/skins/ckeditor/plugins/plinn_image/plugin.js @@ -42,6 +42,21 @@ CKEDITOR.plugins.add( 'plinn_image', } ); }); + + var command = editor.addCommand('plinn_image', + { + exec : function(editor) { + alert('Bonjour la France !'); + } + }); + + editor.ui.addButton('PlinnImage', + { + label : editor.lang.common.image, + icon : this.path + 'dialog/plinn_image.gif', + command : 'plinn_image' + }); + console.log(this.path); } });