You are not logged in.
Pages: 1
Hello,
I've integrated Xinha into OpenWebMail (http://openwebmail.acatysmoof.com), replacing an old version of htmlArea. Beta sites are reporting that the load time in considerably more than htmlArea, and their users are complaining that they are waiting too long for the textarea to appear before they can start typing emails. Is there anything that can be done to speed up the load time?
The source has been minified via yui compressor, and we're only loading the characterMap plugin. No other plugins are loading. Here is the init:
<script type="text/javascript">
var _editor_url = '/javascript/xinha/';
var _editor_lang = 'en';
var _editor_skin = "openwebmail";
</script>
<script type="text/javascript" src="/javascript/xinha/XinhaCore.js"></script>
<script type="text/javascript">
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 : [ 'body' ];
xinha_plugins = xinha_plugins ? xinha_plugins : [ 'CharacterMap' ];
if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return; // do not modify
xinha_config = xinha_config ? xinha_config() : new Xinha.Config();
xinha_config.showLoading = true;
xinha_config.autofocus = document.composeform.to.value == '' ? false : true;
xinha_config.statusBar = false;
xinha_config.flowToolbars = false;
xinha_config.sizeIncludesBars = false;
xinha_config.sizeIncludesPanels = false;
xinha_config.mozParaHandler = 'built-in';
xinha_config.toolbar =
[
["popupeditor"],
["separator","undo","redo"], (Xinha.is_gecko ? [] : ["separator","cut","copy","paste","overwrite","saveas"]),
["separator","bold","italic","underline","strikethrough"],
["separator","justifyleft","justifycenter","justifyright","justifyfull"],
["separator","forecolor","hilitecolor"],
["separator","formatblock","fontname","fontsize"],
["linebreak","subscript","superscript","lefttoright","righttoleft"],
["separator","insertorderedlist","insertunorderedlist","outdent","indent"],
["separator","inserthorizontalrule","createlink","insertimage","inserttable"],
["separator","killword","clearfonts","removeformat"],
["separator","htmlmode","showhelp","about"]
];
xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
Xinha.startEditors(xinha_editors);
}
xinha_init();
</script>
Thanks for any recommendations!
Offline
Pages: 1