CoreFiles by mySites.guru
plugin.min.js1 lines, 726 bytes, from wordpress-4.4.21.zip
Raw History Compare with 4.4.20
md5
60de57253ca9143a6f1e4aff10fc39d2
sha1
26131f3f28f9f931e9ea0a8e5f1ef007706f3fc4
sha256
fa1798550b63291ccc9bb67dbc71e857991eacbfb18095458e992d6316b714a8
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")})});

The same content is in 276 releases, WordPress 4.1-beta1 to 4.7.3. See them all, or every version of this file.