function sakaiSetupRichTextarea(textareaId, config)
{
  if (!isHTMLAreaSupported()) return;

  var counter = document.htmlareas.length;

  // instantiate the widget
  var ta = HTMLArea.getElementById("textarea", textareaId);
  var editor = new HTMLArea(ta, config);

//  // display the editing widget a bit later
//  setTimeout(
//    function()
//    {
      editor.generate();
      editor._iframe.style.border = "1px solid #000000";
//    }, 500);
//
  document.htmlareas[counter] = new Array(textareaId, editor, false);
//  _sakaiReturnFocusBack()
}
/*
 * Set up fancy formatted text editing widget.
 * parameter:  textareaId The HTML id of the HTML textarea turned into widget
 * parameter:  config the HTMLArea.Config
 */
Set up fancy formatted text editing widget.
parameter:  textareaId The HTML id of the HTML textarea turned into widget
parameter:  config the HTMLArea.Config
Set up fancy formatted text editing widget . parameter : textareaId The HTML id of the HTML textarea turned into widget parameter : config the HTMLArea . Config
function sakaiSetupRichTextarea(textareaId, config)
{
  if (!isHTMLAreaSupported()) return;
  var counter = document.htmlareas.length;
  var ta = HTMLArea.getElementById("textarea", textareaId);
  var editor = new HTMLArea(ta, config);
      editor.generate();
      editor._iframe.style.border = "1px solid #000000";
  document.htmlareas[counter] = new Array(textareaId, editor, false);
  _sakaiReturnFocusBack()
}
function sakaiSetupRichTextarea ( textareaId , config ) { if ( ! isHTMLAreaSupported ( ) ) return ; var counter = document . htmlareas . length ; var ta = HTMLArea . getElementById ( "textarea" , textareaId ) ; var editor = new HTMLArea ( ta , config ) ; editor . generate ( ) ; editor . _iframe . style . border = "1px solid #000000" ; document . htmlareas [ counter ] = new Array ( textareaId , editor , false ) ; }
Set up fancy formatted text editing widget.
Set up fancy formatted text editing widget .
// instantiate the widget //  // display the editing widget a bit later //  setTimeout( //    function() //    { //    }, 500); // //  _sakaiReturnFocusBack()