aboutsummaryrefslogtreecommitdiff
path: root/data/stuff/tinymce-4.3.7/plugins/directionality
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-04-03 03:29:32 -0400
committerPaul Duncan <pabs@pablotron.org>2016-04-03 03:29:32 -0400
commit50ac423f6e3be7566c1106647158e81b6eaae44a (patch)
tree5aeddba59f956528ef4e4715940441a1619394c0 /data/stuff/tinymce-4.3.7/plugins/directionality
parentfda56e40b460ab06b6abee98ae1bc7d5f5847c9f (diff)
downloadold-guff-50ac423f6e3be7566c1106647158e81b6eaae44a.tar.bz2
old-guff-50ac423f6e3be7566c1106647158e81b6eaae44a.zip
remove tinymce
Diffstat (limited to 'data/stuff/tinymce-4.3.7/plugins/directionality')
-rw-r--r--data/stuff/tinymce-4.3.7/plugins/directionality/plugin.min.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/data/stuff/tinymce-4.3.7/plugins/directionality/plugin.min.js b/data/stuff/tinymce-4.3.7/plugins/directionality/plugin.min.js
deleted file mode 100644
index 43caba6..0000000
--- a/data/stuff/tinymce-4.3.7/plugins/directionality/plugin.min.js
+++ /dev/null
@@ -1 +0,0 @@
-tinymce.PluginManager.add("directionality",function(a){function b(b){var c,d=a.dom,e=a.selection.getSelectedBlocks();e.length&&(c=d.getAttrib(e[0],"dir"),tinymce.each(e,function(a){d.getParent(a.parentNode,"*[dir='"+b+"']",d.getRoot())||(c!=b?d.setAttrib(a,"dir",b):d.setAttrib(a,"dir",null))}),a.nodeChanged())}function c(a){var b=[];return tinymce.each("h1 h2 h3 h4 h5 h6 div p".split(" "),function(c){b.push(c+"[dir="+a+"]")}),b.join(",")}a.addCommand("mceDirectionLTR",function(){b("ltr")}),a.addCommand("mceDirectionRTL",function(){b("rtl")}),a.addButton("ltr",{title:"Left to right",cmd:"mceDirectionLTR",stateSelector:c("ltr")}),a.addButton("rtl",{title:"Right to left",cmd:"mceDirectionRTL",stateSelector:c("rtl")})}); \ No newline at end of file