}
);
});
+
+ 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);
}
});