Output HTML Tags In Gutenberg Block
I had a breakthrough shortly after posting the original question (isn’t that always the way?). I reread this answer and realised what I needed to do to get the output rendered correctly. I created the const as described in the other answer. const htmlToElem = ( html ) => wp.element.RawHTML( { children: html } ); … Read more