Sha256: f837bcd77810a15d9c4bf89db61fb882df7e0fc6795d4ec9b0cf99b345e53d08
Contents?: true
Size: 1.68 KB
Versions: 5
Compression:
Stored size: 1.68 KB
Contents
/** * $Id: editor_plugin_src.js 520 2008-01-07 16:30:32Z spocke $ * * @author Moxiecode * @copyright Copyright � 2004-2008, Moxiecode Systems AB, All rights reserved. */ (function() { tinymce.create('tinymce.plugins.CurblyAdvancedImagePlugin', { init : function(ed, url) { // Register commands ed.addCommand('mceCurblyAdvImage', function() { var e = ed.selection.getNode(); // Internal image object like a flash placeholder if (ed.dom.getAttrib(e, 'class').indexOf('mceItem') != -1) return; ed.windowManager.open({ file : url + '/image.htm', width : 480 + parseInt(ed.getLang('curblyadvimage.delta_width', 0)), height : 415 + parseInt(ed.getLang('curblyadvimage.delta_height', 0)), inline : 1 }, { plugin_url : url }); }); // Register buttons ed.addButton('image', { title : 'curblyadvimage.image_desc', cmd : 'mceCurblyAdvImage' }); }, getInfo : function() { return { longname : 'Curbly Advanced image', author : 'Moxiecode Systems AB', authorurl : 'http://tinymce.moxiecode.com', infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advimage', version : tinymce.majorVersion + "." + tinymce.minorVersion }; } }); // Register plugin tinymce.PluginManager.add('curblyadvimage', tinymce.plugins.CurblyAdvancedImagePlugin); })();
Version data entries
5 entries across 5 versions & 2 rubygems