Hi @pixelcrash ,
The data array can contain any JSON-able content, including HTML.
On the template side, use triple curly brackets instead of pairs to render the HTML within.
For some reason Gutenberg is removing all the braces when I try to give you an example with three, so just imagine{{htmlcontent}} with an extra { and } on either end. Haha.
Note that I accidentally introduced entity encoding issues in the last release while trying to replace a deprecated PHP method. That should be fixed in 2.4.4.
-
This reply was modified 1 year, 7 months ago by
Blobfolio.
-
This reply was modified 1 year, 7 months ago by
Blobfolio. Reason: Gutenberg is breaking the formatting. Haha
-
This reply was modified 1 year, 7 months ago by
Blobfolio. Reason: Gutenberg fail. Haha