MDL-83506 editor_tiny: Disable default iframe sandboxing

This commit is contained in:
Andrew Nicols
2024-11-08 22:35:09 +08:00
parent 2b337b49f9
commit f0c423a467
3 changed files with 7 additions and 2 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+5
View File
@@ -237,6 +237,11 @@ const getStandardConfig = (target, tinyMCE, options, plugins) => {
// eslint-disable-next-line camelcase
language: lang,
// Disable default iframe sandboxing.
// https://www.tiny.cloud/docs/tinymce/latest/content-filtering/#sandbox-iframes
// eslint-disable-next-line camelcase
sandbox_iframes: false,
// Load the editor stylesheet into the editor iframe.
// https://www.tiny.cloud/docs/tinymce/6/add-css-options/
// eslint-disable-next-line camelcase