MDL-83506 editor_tiny: Disable default iframe sandboxing
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user