﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9807	CKEditor throws error when <iframe> present on page	Robert		"Code is as follows:


{{{
<body>
<script src=""/blog/ckeditor/ckeditor.js""></script>
<center>
<form id=""AddEntry"" name=""AddEntry"" method=""POST"" action=""addentrydb.asp"">  
<textarea name=""entrytext"" id=""entrytext""></textarea>
<script>
CKEDITOR.replace(""entrytext"");
CKEDITOR.on('instanceReady', function() { 
alert('loaded');
 }
);
</script>
<br>
<input type=submit value=""save""  >&nbsp;&nbsp;<input type=button value=""cancel"" onclick=""history.back"">
</form>
</center>
<!-- //<iframe width=100% src=""thisweek2.asp"" target=""_blank""></iframe> -->
</body>
}}}

The OnInstanceReady function serves for debugging. It never fires when the <iframe> is uncommented.

Whenever the <iframe> is active, CKEditor throws an error on the following line: 
{{{
return new CKEDITOR.dom.element(this.$.activeElement)
}}}
If this error is left unhandled, the form data remains empty for the editor when passed to the form handler. 

This error only occurs on IE9, regardless of document mode."	Bug	closed	Normal		General		invalid		
