Render raw html in Gutenberg block
WordPress offers their own implementation called RawHTML. This works: const htmlToElem = ( html ) => wp.element.RawHTML( { children: html } ); … edit: function(props) { return htmlToElem(“<strong>strong text</strong>”); }, …