Changeset 3963


Ignore:
Timestamp:
05/23/09 12:45:31 (3 years ago)
Author:
MichaelTempest
Message:

Item1341, Item1534: Revert changes to see if this was what broke save-from-wikitext on trunk

Location:
trunk/TinyMCEPlugin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/TinyMCEPlugin/data/System/TinyMCEPlugin.txt

    r3955 r3963  
    5151remove_script_host : false, 
    5252dialog_type: "modal", 
    53 extended_valid_elements : "li[type]", 
    5453setupcontent_callback : FoswikiTiny.setUpContent, 
    5554urlconverter_callback : "FoswikiTiny.convertLink", 
  • trunk/TinyMCEPlugin/lib/Foswiki/Plugins/TinyMCEPlugin.pm

    r3954 r3963  
    3636remove_script_host : false, 
    3737dialog_type: "modal", 
    38 extended_valid_elements : "li[type]", 
    3938setupcontent_callback : FoswikiTiny.setUpContent, 
    4039urlconverter_callback : "FoswikiTiny.convertLink", 
  • trunk/TinyMCEPlugin/pub/System/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/foswikibuttons/editor_plugin.js

    r3957 r3963  
    99return null;},_nodeChange:function(ed,cm,n,co){if(n==null) 
    1010return;if(co){cm.setDisabled('tt',true);cm.setDisabled('colour',true);}else{cm.setDisabled('tt',false);cm.setDisabled('colour',false);} 
    11 var elm=ed.dom.getParent(n,'.WYSIWYG_TT');if(elm!=null) 
     11var elm=ed.dom.getParent(n,'span.WYSIWYG_TT');if(elm!=null) 
    1212cm.setActive('tt',true);else 
    13 cm.setActive('tt',false);elm=ed.dom.getParent(n,'.WYSIWYG_COLOR');if(elm!=null) 
     13cm.setActive('tt',false);elm=ed.dom.getParent(n,'span.WYSIWYG_COLOR');if(elm!=null) 
    1414cm.setActive('colour',true);else 
    1515cm.setActive('colour',false);if(ed.fw_lb){var puck=-1;var nn=n.nodeName.toLowerCase();do{for(var i=0;i<ed.fw_formats.length;i++){if((!ed.fw_formats[i].el||ed.fw_formats[i].el==nn)&&(!ed.fw_formats[i].style||ed.dom.hasClass(ed.fw_formats[i].style))){puck=i;if(puck>0) 
  • trunk/TinyMCEPlugin/pub/System/TinyMCEPlugin/tinymce/jscripts/tiny_mce/plugins/foswikibuttons/editor_plugin_src.js

    r3957 r3963  
    172172                        cm.setDisabled('colour', false); 
    173173                } 
    174             var elm = ed.dom.getParent(n, '.WYSIWYG_TT'); 
     174            var elm = ed.dom.getParent(n, 'span.WYSIWYG_TT'); 
    175175            if (elm != null) 
    176176                cm.setActive('tt', true); 
    177177                        else 
    178178                cm.setActive('tt', false); 
    179             elm = ed.dom.getParent(n, '.WYSIWYG_COLOR'); 
     179            elm = ed.dom.getParent(n, 'span.WYSIWYG_COLOR'); 
    180180            if (elm != null) 
    181181                cm.setActive('colour', true); 
Note: See TracChangeset for help on using the changeset viewer.