diff options
Diffstat (limited to 'data/stuff/tinymce-4.3.7/plugins/directionality')
-rw-r--r-- | data/stuff/tinymce-4.3.7/plugins/directionality/plugin.min.js | 1 |
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 |