Skip to content

Commit

Permalink
Fixed issue #CT-374: ckeditor prevents iframes from working by adding…
Browse files Browse the repository at this point in the history
… sandbox=""
  • Loading branch information
twilligls committed Sep 15, 2023
1 parent 63d552e commit 8569f7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/packages/ckeditor/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,9 @@ CKEDITOR.editorConfig = function (a) {
];
a.extraPlugins = "limereplacementfields,lsswitchtoolbars";
a.removePlugins = 'sourcearea';
a.iframe_attributes = {
sandbox: 'allow-scripts allow-same-origin'
}
}

CKEDITOR.on("instanceReady", function (event) {
Expand Down

0 comments on commit 8569f7e

Please sign in to comment.