From 105d7b441e7fc2ac95ed18ff6bbac3bb1ef7049a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81d=C3=A1m=20Hassan?= Date: Wed, 2 Oct 2024 11:53:41 +0200 Subject: [PATCH] fix: disable iframe sandbox --- packages/sn-editor-react/src/tinymce/Editor.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/sn-editor-react/src/tinymce/Editor.tsx b/packages/sn-editor-react/src/tinymce/Editor.tsx index 6cbec5afc..a5eef89b1 100644 --- a/packages/sn-editor-react/src/tinymce/Editor.tsx +++ b/packages/sn-editor-react/src/tinymce/Editor.tsx @@ -65,6 +65,7 @@ export const TinymceEditor: FC = (props) => { }} initialValue={props.initvalue} init={{ + sandbox_iframes: false, file_picker_types: 'image', /* and here's our custom image picker*/ file_picker_callback: (cb, _value, _meta) => {