Changeset 514
- Timestamp:
- 05/10/06 14:35:33 (7 years ago)
- Files:
-
- 1 modified
-
trunk/examples/ext_example-body.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/ext_example-body.html
r433 r514 41 41 xinha_config = null; 42 42 xinha_plugins = null; 43 43 44 44 xinha_init = xinha_init ? xinha_init : function() { 45 45 window.onerror = showError; … … 71 71 var ta = 'myTextarea' + x; 72 72 xinha_editors.push(ta); 73 73 74 74 var div = document.createElement('div'); 75 75 div.className = 'area_holder'; … … 167 167 // if you want all the editor objects to use the same set of plugins, OR; 168 168 // xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config); 169 // xinha_editors['myText Area'].registerPlugins(['Stylist','FullScreen']);170 // xinha_editors[' anotherOne'].registerPlugins(['CSS','SuperClean']);169 // xinha_editors['myTextarea0'].registerPlugins(['Stylist','FullScreen']); 170 // xinha_editors['myTextarea1'].registerPlugins(['CSS','SuperClean']); 171 171 // if you want to use a different set of plugins for one or more of the editors. 172 172 xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins); 173 173 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, 175 175 // this is the place to do that, for example you might want to 176 176 // 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'; 179 179 180 180 // Finally we "start" the editors, this turns the textareas into Xinha editors.
