Sha256: de642f24a2a35f8693abc74e48a95f2d357fba48cefeda4694bdd9e9aef4e19b

Contents?: true

Size: 789 Bytes

Versions: 7

Compression:

Stored size: 789 Bytes

Contents

CKEDITOR.plugins.add("esp_image",{lang:["en","ru","uk"],init:function(a){var b="esp_image";CKEDITOR.dialog.add(b,this.path+"dialogs/esp_image.js");a.addCommand(b,new CKEDITOR.dialogCommand(b));a.ui.addButton("Esp_image",{label:a.lang.esp_image.image,command:b,icon:this.path+"images/esp_image.png"});a.on("doubleclick",function(c){var d=c.data.element;if(d.is("img")&&!d.data("cke-realelement")&&!d.isReadOnly()){c.data.dialog="esp_image"}});if(a.addMenuItems){a.addMenuItems({esp_image:{label:a.lang.esp_image.menu,command:"esp_image",group:"esp_image"}})}if(a.contextMenu){a.contextMenu.addListener(function(c,d){if(!c||!c.is("img")||c.data("cke-realelement")||c.isReadOnly()){return null}return{esp_image:CKEDITOR.TRISTATE_OFF}})}}});CKEDITOR.config.esp_image_removeLinkByEmptyURL=true;

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
esp-ckeditor-0.1.7 vendor/assets/javascripts/plugins/esp_image/plugin.js
esp-ckeditor-0.1.6 vendor/assets/javascripts/esp-ckeditor/plugins/esp_image/plugin.js
esp-ckeditor-0.1.4 vendor/assets/javascripts/esp-ckeditor/plugins/esp_image/plugin.js
esp-ckeditor-0.1.3 app/assets/javascripts/esp-ckeditor/plugins/esp_image/plugin.js
esp-ckeditor-0.1.2 app/assets/javascripts/esp-ckeditor/plugins/esp_image/plugin.js
esp-ckeditor-0.1.1 app/assets/javascripts/esp-ckeditor/plugins/esp_image/plugin.js
esp-ckeditor-0.1.0 app/assets/javascripts/esp-ckeditor/plugins/esp_image/plugin.js