diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-04-03 03:29:32 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-04-03 03:29:32 -0400 |
commit | 50ac423f6e3be7566c1106647158e81b6eaae44a (patch) | |
tree | 5aeddba59f956528ef4e4715940441a1619394c0 /data/stuff/tinymce-4.3.7/plugins/contextmenu | |
parent | fda56e40b460ab06b6abee98ae1bc7d5f5847c9f (diff) | |
download | old-guff-50ac423f6e3be7566c1106647158e81b6eaae44a.tar.bz2 old-guff-50ac423f6e3be7566c1106647158e81b6eaae44a.zip |
remove tinymce
Diffstat (limited to 'data/stuff/tinymce-4.3.7/plugins/contextmenu')
-rw-r--r-- | data/stuff/tinymce-4.3.7/plugins/contextmenu/plugin.min.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/data/stuff/tinymce-4.3.7/plugins/contextmenu/plugin.min.js b/data/stuff/tinymce-4.3.7/plugins/contextmenu/plugin.min.js deleted file mode 100644 index c25e98b..0000000 --- a/data/stuff/tinymce-4.3.7/plugins/contextmenu/plugin.min.js +++ /dev/null @@ -1 +0,0 @@ -tinymce.PluginManager.add("contextmenu",function(a){var b,c=a.settings.contextmenu_never_use_native;a.on("contextmenu",function(d){var e,f=a.getDoc();if(!d.ctrlKey||c){if(d.preventDefault(),tinymce.Env.mac&&tinymce.Env.webkit&&2==d.button&&f.caretRangeFromPoint&&a.selection.setRng(f.caretRangeFromPoint(d.x,d.y)),e=a.settings.contextmenu||"link image inserttable | cell row column deletetable",b)b.show();else{var g=[];tinymce.each(e.split(/[ ,]/),function(b){var c=a.menuItems[b];"|"==b&&(c={text:b}),c&&(c.shortcut="",g.push(c))});for(var h=0;h<g.length;h++)"|"==g[h].text&&(0!==h&&h!=g.length-1||g.splice(h,1));b=new tinymce.ui.Menu({items:g,context:"contextmenu",classes:"contextmenu"}).renderTo(),a.on("remove",function(){b.remove(),b=null})}var i={x:d.pageX,y:d.pageY};a.inline||(i=tinymce.DOM.getPos(a.getContentAreaContainer()),i.x+=d.clientX,i.y+=d.clientY),b.moveTo(i.x,i.y)}})});
\ No newline at end of file |