From fda56e40b460ab06b6abee98ae1bc7d5f5847c9f Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 3 Apr 2016 02:27:10 -0400 Subject: add tinymce --- data/stuff/tinymce-4.3.7/plugins/contextmenu/plugin.min.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 data/stuff/tinymce-4.3.7/plugins/contextmenu/plugin.min.js (limited to 'data/stuff/tinymce-4.3.7/plugins/contextmenu/plugin.min.js') 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 new file mode 100644 index 0000000..c25e98b --- /dev/null +++ b/data/stuff/tinymce-4.3.7/plugins/contextmenu/plugin.min.js @@ -0,0 +1 @@ +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