Was trying to write a snippet to demonstrate something with ckeditor today and encountered this message:
{
"message": "SecurityError: Permission denied to access property \"document\" on cross-origin object",
"filename": "https://cdn.ckeditor.com/4.8.0/standard/ckeditor.js",
"lineno": 1190,
"colno": 0
}
Is there a workaround to include CKEditor in a code snippet for the purposes of answering a question?
var h = "document.open();" + (CKEDITOR.env.ie ? "(" + CKEDITOR.tools.fixDomain + ")();" : "") + "document.close();"