add:  if(typeof Filter != 'undefined') { xinha_config.Filters = ["Word", "Paragraph"] } 
context:   xinha_config = function()  {    var    config = new HTMLArea.Config();    if(typeof CSS != 'undefined')    {      config.pageStyle = "@import url(custom.css);";    }    if(typeof Stylist != 'undefined')    {      // We can load an external stylesheet like this - NOTE : YOU MUST GIVE AN ABSOLUTE URL      //  otherwise it won't work!      config.stylistLoadStylesheet(document.location.href.replace(/[^\/]*\.html/, 'stylist.css'));      // Or we can load styles directly      config.stylistLoadStyles('p.red_text { color:red }');      // If you want to provide "friendly" names you can do so like      // (you can do this for stylistLoadStylesheet as well)      config.stylistLoadStyles('p.pink_text { color:pink }', {'p.pink_text' : 'Pretty Pink'});    }    if(typeof DynamicCSS != 'undefined')    {      config.pageStyle = "@import url(dynamic.css);";    }    if(typeof InsertWords != 'undefined')    {      // Register the keyword/replacement list      var keywrds1 = new Object();      var keywrds2 = new Object();      keywrds1['-- Dropdown Label --'] = '';      keywrds1['onekey'] = 'onevalue';      keywrds1['twokey'] = 'twovalue';      keywrds1['threekey'] = 'threevalue';      keywrds2['-- Insert Keyword --'] = '';      keywrds2['Username'] = '%user%';      keywrds2['Last login date'] = '%last_login%';      config.InsertWords = {        combos : [ { options: keywrds1, context: "body" },               { options: keywrds2, context: "li" } ]      }    }        if (typeof ListType != 'undefined')    {      if(window.parent && window.parent != window)      {        var f = window.parent.menu.document.forms[0];        config.ListType.mode = f.elements['ListTypeMode'].options[f.elements['ListTypeMode'].selectedIndex].value;      }    }    if (typeof CharacterMap != 'undefined')    {      if(window.parent && window.parent != window)      {        var f = window.parent.menu.document.forms[0];        config.CharacterMap.mode = f.elements['CharacterMapMode'].options[f.elements['CharacterMapMode'].selectedIndex].value;      }    }    return config;  }
meta: 1743	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1743/878617918015c2c8847abc97bb36fbda96298ac5/full_example.js/clean/xinha/examples/full_example.js