You are not logged in.
Pages: 1
I just implemented this, here is the code :
// load editor
xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins);
HTMLArea.startEditors(xinha_editors);
// custom code starts here..
init_custom();
}
function init_custom()
{
// wait untill the editor becomes available
var editor = xinha_editors['<the name of your editor>'];
if (!editor._doc)
{
setTimeout('init_custom()', 500);
// do custom defaults
} else
{
editor._fullScreen();
//editor.enableToolbar();
}
}a dirty hack but it does the trick.. good luck ![]()
Pages: 1