diff options
author | redmatrix <git@macgirvin.com> | 2016-05-30 22:16:34 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-30 22:16:34 -0700 |
commit | 670e83b30050201e3ac069c9dfa86a92aff2431d (patch) | |
tree | 1280e93b6435fcca43d85a940c64d24c8c07936b /library/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin.js | |
parent | 44d3dadb03406a811c30340c814b3f95483a6a6d (diff) | |
download | volse-hubzilla-670e83b30050201e3ac069c9dfa86a92aff2431d.tar.gz volse-hubzilla-670e83b30050201e3ac069c9dfa86a92aff2431d.tar.bz2 volse-hubzilla-670e83b30050201e3ac069c9dfa86a92aff2431d.zip |
remove a bunch of unused stuff, some of which is orphaned and some which represents dead development efforts
Diffstat (limited to 'library/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin.js')
-rw-r--r-- | library/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin.js b/library/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin.js deleted file mode 100644 index bce8e7399..000000000 --- a/library/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin.js +++ /dev/null @@ -1 +0,0 @@ -(function(){tinymce.create("tinymce.plugins.Directionality",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceDirectionLTR",function(){var d=a.dom.getParent(a.selection.getNode(),a.dom.isBlock);if(d){if(a.dom.getAttrib(d,"dir")!="ltr"){a.dom.setAttrib(d,"dir","ltr")}else{a.dom.setAttrib(d,"dir","")}}a.nodeChanged()});a.addCommand("mceDirectionRTL",function(){var d=a.dom.getParent(a.selection.getNode(),a.dom.isBlock);if(d){if(a.dom.getAttrib(d,"dir")!="rtl"){a.dom.setAttrib(d,"dir","rtl")}else{a.dom.setAttrib(d,"dir","")}}a.nodeChanged()});a.addButton("ltr",{title:"directionality.ltr_desc",cmd:"mceDirectionLTR"});a.addButton("rtl",{title:"directionality.rtl_desc",cmd:"mceDirectionRTL"});a.onNodeChange.add(c._nodeChange,c)},getInfo:function(){return{longname:"Directionality",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/directionality",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_nodeChange:function(b,a,e){var d=b.dom,c;e=d.getParent(e,d.isBlock);if(!e){a.setDisabled("ltr",1);a.setDisabled("rtl",1);return}c=d.getAttrib(e,"dir");a.setActive("ltr",c=="ltr");a.setDisabled("ltr",0);a.setActive("rtl",c=="rtl");a.setDisabled("rtl",0)}});tinymce.PluginManager.add("directionality",tinymce.plugins.Directionality)})();
\ No newline at end of file |