Current oav website
This commit is contained in:
15
dotclear._no/plugins/externalMedia/cke-addon/plugin.js
Executable file
15
dotclear._no/plugins/externalMedia/cke-addon/plugin.js
Executable file
@ -0,0 +1,15 @@
|
||||
CKEDITOR.plugins.add('externalmedia', {
|
||||
requires:"dialog",
|
||||
|
||||
init: function(editor) {
|
||||
editor.addCommand('externalMediaCommand', new CKEDITOR.dialogCommand('externalMediaDialog'));
|
||||
|
||||
CKEDITOR.dialog.add('externalMediaDialog', this.path+'dialogs/popup.js');
|
||||
|
||||
editor.ui.addButton("ExternalMedia", {
|
||||
label: extmedia_title,
|
||||
command: 'externalMediaCommand',
|
||||
icon: this.path+'icons/icon.png'
|
||||
});
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user