Closed jan-dh closed 3 years ago
Ah, good point here, because we're using Vue, it's trying to parse that as Vue template code - not what we want at all.
Fixed for the next release. To get the fix early, change your verbb/vizy
requirement in composer.json
to:
"require": {
"verbb/vizy": "dev-craft-3 as 1.0.2",
"...": "..."
}
Then run composer update
.
Fixed in 1.0.3
Description
I made a plain text block to output some twig code in a blog post and style it with prism.js The content of the block is something like this:
After saving the block and reloading the entry the content is gone:
I also get two errors from a vue file:
ReferenceError: attribute is not defined
andvue.js?v=1621609911:6 ReferenceError: row is not defined
My guess would be that the unclosed
{% else %}
tag creates some issues when saving this field. I'm assuming it does get parsed somewhere before save, even though it's just a plain text fieldSteps to reproduce
code
block with a plain text fieldAdditional info