hi ,
I am using Ckeditor with Ms Crmc 2011, added below html/script on one of the form
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="../../ckeditor_/ckeditor/ckeditor.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript">
CKEDITOR.timestamp = null;
var Xrm;
$(document).ready(function () {
var Xrm = parent.Xrm;
var voeb_eckdaten = Xrm.Page.getAttribute("description").getValue();
document.getElementById('editor1').value = voeb_eckdaten;
CKEDITOR.instances.editor1.on('blur', function () {
var value = CKEDITOR.instances.editor1.getData();
Xrm.Page.getAttribute("description").setValue(value);
});
});
</script>
</head>
<body>
<textarea class="ckeditor" cols="80" id="editor1" name="editor1" rows="10"></textarea>
</body>
</html>
in above code getting error at line CKEDITOR.instances
Error is "CKEDITOR.instance.editor is undefined or null" afeter that getting one more error "groups is undefined or null"(this is getting in Ckeditor.js)
I tried by replacing instance with editor1 , result of this , first error is gone now but not the second one.
this is occuring on IE 8 only , on IE10 its working fine.
Please help me on this.
thanks!
Urgent help needed on this.
Urgent help needed on this.
thanks!