When scripting around the editor I create a bunch of references to the objects of the FCKeditor, some of which the name differs from its name in the FCKeditor. If find my names more clear and less ambiguous.
editorFrame = document.getElementById(editorInstance.Name + '___Frame'); editorWindow = editorInstance.EditorWindow.parent; editorDocument = editorWindow.document; editorBody = editorDocument.body; editingAreaWindow = editorInstance.EditorWindow; editingAreaDocument = editorInstance.EditorDocument; editingAreaBody = editingAreaDocument.body; editingAreaIFrame = getElement('xEditingArea').getElementsByTagName('iframe')[0];