rem: editorShell.EndBatchChanges(); 
add: try {  var initialText = gDialog.textareaValue.value; if (initialText != textareaElement.value) { while (textareaElement.hasChildNodes()) editorShell.editor.DeleteNode(textareaElement.firstChild); if (initialText) { var textNode = editorShell.editorDocument.createTextNode(initialText); editorShell.editor.InsertNode(textNode, textareaElement, 0); } }  if (insertNew) editorShell.InsertElementAtSelection(textareaElement, true); else editorShell.SelectElement(textareaElement);  editorShell.CloneAttributes(textareaElement, globalElement); } finally { editorShell.EndBatchChanges(); } 
context: function onAccept(){  editorShell.BeginBatchChanges();  if (insertNew)  {    try {      // 'true' means delete the selection before inserting      // in case were are converting text to a text area      editorShell.InsertElementAtSelection(textareaElement, true);    } catch (e) {      dump(e);    }  }  // All values are valid - copy to actual element in doc or  //   element created to insert  ValidateData();  editorShell.CloneAttributes(textareaElement, globalElement);  editorShell.EndBatchChanges();  SaveWindowLocation();  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/839fd1768cc3e3d4445e01452908b6c9e7a601c3/EdTextAreaProps.js/clean/editor/ui/dialogs/content/EdTextAreaProps.js