Skip to content

Commit

Permalink
Merge pull request #1634 from SenseNet/fix/TinyMcee-iframe-sandbox
Browse files Browse the repository at this point in the history
Disable iframe sandbox
  • Loading branch information
hassanad94 authored Oct 2, 2024
2 parents 5999867 + 105d7b4 commit b8071e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/sn-editor-react/src/tinymce/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const TinymceEditor: FC<TinymceEditorProps> = (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) => {
Expand Down

0 comments on commit b8071e4

Please sign in to comment.