Index: openacs-4/packages/acs-templating/www/resources/xinha-nightly/examples/XinhaConfig.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/xinha-nightly/examples/XinhaConfig.js,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-templating/www/resources/xinha-nightly/examples/XinhaConfig.js 24 Nov 2007 15:35:28 -0000 1.2 +++ openacs-4/packages/acs-templating/www/resources/xinha-nightly/examples/XinhaConfig.js 13 May 2008 18:53:45 -0000 1.3 @@ -1,11 +1,13 @@ -/* This compressed file is part of Xinha. For uncomressed sources, forum, and bug reports, go to xinha.org */ +/* This compressed file is part of Xinha. For uncompressed sources, forum, and bug reports, go to xinha.org */ +/* This file is part of version 0.95 released Mon, 12 May 2008 17:33:15 +0200 */ +/* The URL of the most recent version of this file is http://svn.xinha.webfactional.com/trunk/examples/XinhaConfig.js */ xinha_editors=null; xinha_init=null; xinha_config=null; xinha_plugins=null; xinha_init=xinha_init?xinha_init:function(){ xinha_editors=xinha_editors?xinha_editors:["myTextArea","anotherOne"]; -xinha_plugins=xinha_plugins?xinha_plugins:["CharacterMap","ContextMenu","ListType","Stylist","Linker","SuperClean","TableOperations"]; +xinha_plugins=xinha_plugins?xinha_plugins:["CharacterMap","ContextMenu","SmartReplace","Stylist","Linker","SuperClean","TableOperations"]; if(!Xinha.loadPlugins(xinha_plugins,xinha_init)){ return; } @@ -14,5 +16,5 @@ xinha_editors=Xinha.makeEditors(xinha_editors,xinha_config,xinha_plugins); Xinha.startEditors(xinha_editors); }; -Xinha._addEvent(window,"load",xinha_init); +Xinha.addOnloadHandler(xinha_init);