Skip to content

Commit

Permalink
Use raw format when setting TinyMCE content
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed May 5, 2017
1 parent f70b783 commit 3fd5cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/components/editable/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export default class Editable extends wp.element.Component {
}

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

getContent() {
Expand Down

0 comments on commit 3fd5cb0

Please sign in to comment.