From 50ac423f6e3be7566c1106647158e81b6eaae44a Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 3 Apr 2016 03:29:32 -0400 Subject: remove tinymce --- data/stuff/tinymce-4.3.7/plugins/visualchars/plugin.min.js | 1 - 1 file changed, 1 deletion(-) delete mode 100644 data/stuff/tinymce-4.3.7/plugins/visualchars/plugin.min.js (limited to 'data/stuff/tinymce-4.3.7/plugins/visualchars') diff --git a/data/stuff/tinymce-4.3.7/plugins/visualchars/plugin.min.js b/data/stuff/tinymce-4.3.7/plugins/visualchars/plugin.min.js deleted file mode 100644 index 80183aa..0000000 --- a/data/stuff/tinymce-4.3.7/plugins/visualchars/plugin.min.js +++ /dev/null @@ -1 +0,0 @@ -tinymce.PluginManager.add("visualchars",function(a){function b(b){function c(a){return''+a+""}function f(){var a,b="";for(a in n)b+=a;return new RegExp("["+b+"]","g")}function g(){var a,b="";for(a in n)b&&(b+=","),b+="span.mce-"+n[a];return b}var h,i,j,k,l,m,n,o,p=a.getBody(),q=a.selection;if(n={"\xa0":"nbsp","\xad":"shy"},d=!d,e.state=d,a.fire("VisualChars",{state:d}),o=f(),b&&(m=q.getBookmark()),d)for(i=[],tinymce.walk(p,function(a){3==a.nodeType&&a.nodeValue&&o.test(a.nodeValue)&&i.push(a)},"childNodes"),j=0;j=0;j--)a.dom.remove(i[j],1);q.moveToBookmark(m)}function c(){var b=this;a.on("VisualChars",function(a){b.active(a.state)})}var d,e=this;a.addCommand("mceVisualChars",b),a.addButton("visualchars",{title:"Show invisible characters",cmd:"mceVisualChars",onPostRender:c}),a.addMenuItem("visualchars",{text:"Show invisible characters",cmd:"mceVisualChars",onPostRender:c,selectable:!0,context:"view",prependToContext:!0}),a.on("beforegetcontent",function(a){d&&"raw"!=a.format&&!a.draft&&(d=!0,b(!1))})}); \ No newline at end of file -- cgit v1.2.3