FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 4ba63e89 authored by Jamie Giberti's avatar Jamie Giberti
Browse files

Committing Brian's modified patch for the CKEditor module to stop the iFrame...

Committing Brian's modified patch for the CKEditor module to stop the iFrame sandbox issue which is stopping the rendering of any content within an iFrame
parent 86c4c649
No related branches found
No related tags found
No related merge requests found
diff --git a/ckeditor.config.js b/ckeditor.config.js
index 43d7e62..10756a8 100644
--- a/ckeditor.config.js
+++ b/ckeditor.config.js
@@ -67,6 +67,12 @@ CKEDITOR.editorConfig = function(config) {
if (this.element.$.rows > 0) {
config.height = this.element.$.rows * 20 + 'px';
}
+
+ // Allow content to be shown in an iFrame.
+ config.iframe_attributes = function(iframe) {
+ return;
+ }
+
}
/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment