Sha256: bf68298da6958f061b1cd37cb927d6f4738fafffa69a756bbd8fddc08a25e2b4

Contents?: true

Size: 1003 Bytes

Versions: 21

Compression:

Stored size: 1003 Bytes

Contents

(function(){tinymce.create('tinymce.plugins.AdvancedLinkPlugin',{init:function(ed,url){this.editor=ed;ed.addCommand('mceAdvLink',function(){var se=ed.selection;if(se.isCollapsed()&&!ed.dom.getParent(se.getNode(),'A'))return;ed.windowManager.open({file:url+'/link.htm',width:480+parseInt(ed.getLang('advlink.delta_width',0)),height:400+parseInt(ed.getLang('advlink.delta_height',0)),inline:1},{plugin_url:url});});ed.addButton('link',{title:'advlink.link_desc',cmd:'mceAdvLink'});ed.addShortcut('ctrl+k','advlink.advlink_desc','mceAdvLink');ed.onNodeChange.add(function(ed,cm,n,co){cm.setDisabled('link',co&&n.nodeName!='A');cm.setActive('link',n.nodeName=='A'&&!n.name);});},getInfo:function(){return{longname:'Advanced link',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink',version:tinymce.majorVersion+"."+tinymce.minorVersion};}});tinymce.PluginManager.add('advlink',tinymce.plugins.AdvancedLinkPlugin);})();

Version data entries

21 entries across 21 versions & 3 rubygems

Version Path
rails_tinymce-0.0.1 assets/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-blogs-0.1.8 test/rails_root/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-contents-0.1.11 public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-contents-0.1.10 public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-contents-0.1.9 public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-contents-0.1.8 public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-blogs-0.1.7 test/rails_root/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-contents-0.1.7 public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-blogs-0.1.6 test/rails_root/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-contents-0.1.6 public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-contents-0.1.5 public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-blogs-0.1.5 test/rails_root/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-contents-0.1.4 public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-blogs-0.1.4 test/rails_root/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-contents-0.1.1 public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-contents-0.1.2 public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-contents-0.1.3 public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-blogs-0.1.1 test/rails_root/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-blogs-0.1.2 test/rails_root/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js
muck-blogs-0.1.3 test/rails_root/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js