Skip to content

Commit

Permalink
Merge pull request #4304 from WordPress/fix/content-sanitization
Browse files Browse the repository at this point in the history
Enable TinyMCE sanitization when setting HTML content
  • Loading branch information
noisysocks committed Jan 14, 2018
2 parents 8ee2b1a + 5d4e19d commit 38300ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/editable/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ export default class Editable extends Component {
}

content = renderToString( content );
this.editor.setContent( content, { format: 'raw' } );
this.editor.setContent( content );
}

getContent() {
Expand Down

0 comments on commit 38300ff

Please sign in to comment.