Ajout du bouton « Plinn Image » avec toute la glue qui va bien. Pour l'instant, le...
[ckeditor.git] / skins / ckeditor / plugins / plinn_image / plugin.js
index afa30ce..442a2be 100644 (file)
@@ -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);
        }
 });
 
        }
 });