Changeset 514


Ignore:
Timestamp:
05/10/06 14:35:33 (8 years ago)
Author:
gocher
Message:

Ony a view comments changed to show that Ticket #522 is invalid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/ext_example-body.html

    r433 r514  
    4141    xinha_config  = null; 
    4242    xinha_plugins = null; 
    43      
     43 
    4444    xinha_init = xinha_init ? xinha_init : function() { 
    4545      window.onerror = showError; 
     
    7171        var ta = 'myTextarea' + x; 
    7272        xinha_editors.push(ta); 
    73          
     73 
    7474        var div = document.createElement('div'); 
    7575        div.className = 'area_holder'; 
     
    167167// if you want all the editor objects to use the same set of plugins, OR; 
    168168//   xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config); 
    169 //   xinha_editors['myTextArea'].registerPlugins(['Stylist','FullScreen']); 
    170 //   xinha_editors['anotherOne'].registerPlugins(['CSS','SuperClean']); 
     169//   xinha_editors['myTextarea0'].registerPlugins(['Stylist','FullScreen']); 
     170//   xinha_editors['myTextarea1'].registerPlugins(['CSS','SuperClean']); 
    171171// if you want to use a different set of plugins for one or more of the editors. 
    172172      xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins); 
    173173 
    174 // If you want to change the configuration variables of any of the editors,   
     174// If you want to change the configuration variables of any of the editors, 
    175175// this is the place to do that, for example you might want to 
    176176// change the width and height of one of the editors, like this... 
    177 //   xinha_editors.myTextArea.config.width  = '640px'; 
    178 //   xinha_editors.myTextArea.config.height = '480px'; 
     177//   xinha_editors['myTextarea0'].config.width  = '640px'; 
     178//   xinha_editors['myTextarea0'].config.height = '480px'; 
    179179 
    180180// Finally we "start" the editors, this turns the textareas into Xinha editors. 
Note: See TracChangeset for help on using the changeset viewer.