Skip to content

Commit 38300ff

Browse files
authored
Merge pull request #4304 from WordPress/fix/content-sanitization
Enable TinyMCE sanitization when setting HTML content
2 parents 8ee2b1a + 5d4e19d commit 38300ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blocks/editable/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ export default class Editable extends Component {
721721
}
722722

723723
content = renderToString( content );
724-
this.editor.setContent( content, { format: 'raw' } );
724+
this.editor.setContent( content );
725725
}
726726

727727
getContent() {

0 commit comments

Comments
 (0)