Hi I am trying to replace some value in my field.
If I use the following {{ content.field_myfield.0 }}
Then I’ll get a paragraph text.
If I use the below to replace some of the text then nothing is rendered, with no errors.
{{ content.field_myfield.0|replace({"foo" : "bar"}) }}
I also try content.field_myfield.value and content.field_myfield.0.value etc but all return empty instead of replacing the text.
How can I use replace?
Thanks