Sha256: e25107c7a0e662cf15ce79217e5cd2288318a770fc4f044eb97ba0e08f202640
Contents?: true
Size: 719 Bytes
Versions: 3
Compression:
Stored size: 719 Bytes
Contents
/* * * Plugin developed by Dimitri Conejo * www.dimitriconejo.com * */ CKEDITOR.plugins.add( 'videodetector', { icons: 'videodetector', init: function( editor ) { var pluginDirectory = this.path; editor.addContentsCss(pluginDirectory + 'videodetector.css'); editor.addCommand('videodetector', new CKEDITOR.dialogCommand('videoDialog')); editor.ui.addButton( 'VideoDetector', { label: 'Insert a Youtube, Vimeo or Dailymotion video', command: 'videodetector', icon: CKEDITOR.plugins.getPath('videodetector') + 'icons/icon_black.png' }); CKEDITOR.dialog.add('videoDialog', this.path + 'dialogs/videoDialog.js'); } });
Version data entries
3 entries across 3 versions & 1 rubygems