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/noneditable/plugin.min.js | 1 - 1 file changed, 1 deletion(-) delete mode 100644 data/stuff/tinymce-4.3.7/plugins/noneditable/plugin.min.js (limited to 'data/stuff/tinymce-4.3.7/plugins/noneditable/plugin.min.js') diff --git a/data/stuff/tinymce-4.3.7/plugins/noneditable/plugin.min.js b/data/stuff/tinymce-4.3.7/plugins/noneditable/plugin.min.js deleted file mode 100644 index 49e9d5a..0000000 --- a/data/stuff/tinymce-4.3.7/plugins/noneditable/plugin.min.js +++ /dev/null @@ -1 +0,0 @@ -tinymce.PluginManager.add("noneditable",function(a){function b(a){return function(b){return-1!==(" "+b.attr("class")+" ").indexOf(a)}}function c(b){function c(b){var c=arguments,d=c[c.length-2];return d>0&&'"'==g.charAt(d-1)?b:''+a.dom.encode("string"==typeof c[1]?c[1]:c[0])+""}var d=f.length,g=b.content,h=tinymce.trim(e);if("raw"!=b.format){for(;d--;)g=g.replace(f[d],c);b.content=g}}var d,e,f,g="contenteditable";d=" "+tinymce.trim(a.getParam("noneditable_editable_class","mceEditable"))+" ",e=" "+tinymce.trim(a.getParam("noneditable_noneditable_class","mceNonEditable"))+" ";var h=b(d),i=b(e);f=a.getParam("noneditable_regexp"),f&&!f.length&&(f=[f]),a.on("PreInit",function(){f&&a.on("BeforeSetContent",c),a.parser.addAttributeFilter("class",function(a){for(var b,c=a.length;c--;)b=a[c],h(b)?b.attr(g,"true"):i(b)&&b.attr(g,"false")}),a.serializer.addAttributeFilter(g,function(a){for(var b,c=a.length;c--;)b=a[c],(h(b)||i(b))&&(f&&b.attr("data-mce-content")?(b.name="#text",b.type=3,b.raw=!0,b.value=b.attr("data-mce-content")):b.attr(g,null))})})}); \ No newline at end of file -- cgit v1.2.3