Sha256: 988f21937dfb24d88d101077d79877687784c8e72bb6f006a32fa02850c88c0f
Contents?: true
Size: 673 Bytes
Versions: 7
Compression:
Stored size: 673 Bytes
Contents
(function () { var esp_attachmentCmd = { exec: function (editor) { editor.openDialog('esp_attachment'); return } }; CKEDITOR.plugins.add('esp_attachment', { lang: ['en', 'ru', 'uk'], requires: ['dialog'], init: function (editor) { var commandName = 'esp_attachment'; editor.addCommand(commandName, esp_attachmentCmd); editor.ui.addButton('Esp_attachment', { label: editor.lang.esp_attachment.button, command: commandName, icon: this.path + "images/esp_attachment.png" }); CKEDITOR.dialog.add(commandName, CKEDITOR.getUrl(this.path + 'dialogs/esp_attachment.js')) } }) })();
Version data entries
7 entries across 7 versions & 1 rubygems