Hey there!
I was wondering if there is a way to use the blocks field with twig. At the moment it renders the php snippets as a string including the html tags in the dom.
Using the given code from the docs:
fields:
text:
type: blocks
<p>hello world</p>
{{ page.text.toBlocks() }}
results in the following for me:
My Kirby installation is running on version 3.5.3.1 with the following plugins:
- kirby-blurry-placeholder
- kirby-twig
- markdown-field
Is there a way to use the given snippets with twig? Thanks a lot in advance!