From 47cf16cad0c29d6ebbc117f88583f56c79512b03 Mon Sep 17 00:00:00 2001 From: quasi Date: Thu, 24 Sep 2009 06:57:40 +0000 Subject: [PATCH] =?UTF-8?q?Vorl=C3=A4ufige=20XihnaConfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.libreccm.org/ccm/trunk@267 8810af33-2d31-482b-a856-94f89814c4df --- ccm-core/web/assets/xinha/XinhaConfig.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ccm-core/web/assets/xinha/XinhaConfig.js diff --git a/ccm-core/web/assets/xinha/XinhaConfig.js b/ccm-core/web/assets/xinha/XinhaConfig.js new file mode 100644 index 000000000..d39daff3b --- /dev/null +++ b/ccm-core/web/assets/xinha/XinhaConfig.js @@ -0,0 +1,18 @@ +/* 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_init=null; +xinha_config=null; +xinha_init=xinha_init?xinha_init:function(){ +xinha_editors=xinha_editors?xinha_editors:["myTextArea","anotherOne"]; +xinha_plugins=xinha_plugins?xinha_plugins:["CharacterMap","ContextMenu","SmartReplace","Stylist","Linker","SuperClean","TableOperations"]; +if(!Xinha.loadPlugins(xinha_plugins,xinha_init)){ +return; +} +xinha_config=xinha_config?xinha_config():new Xinha.Config(); +xinha_config.pageStyleSheets=[_editor_url+"examples/full_example.css"]; +xinha_editors=Xinha.makeEditors(xinha_editors,xinha_config,xinha_plugins); +Xinha.startEditors(xinha_editors); +}; +Xinha.addOnloadHandler(xinha_init); +