That’s odd as it has been working fine until a recent update. Just luck I guess.
The way I was using it was to allow rich text to be added to the page which could contain ‘variables’ which get replaced with actual data.
So for example I would get the rich text contents and replace !!!username!!! with the code used to insert the username. It has been working really well until I updated.
The main reason for needing to do this is to allow data to be inserted directly within text. This is something Rapidweaver Classic supports well (using ignore formatting) but Elements doesn’t. In elements I can only have the username inserted in a block by itself on the page but not within text.
Having access to the contents of the richtext again would be really useful.
I finally have some time to look at this now. I am confused about $twig though. Does elements setup $twig internally or do I need to do something further? Do you have an example of including twig? I had a read through the Twig docs which make sense but not sure how to include it in the page.