Hello. The backoffice content block editor is alte...
# help
b
Hello. The backoffice content block editor is altering/corrupting the example HTML blocks. When viewing the block placeholders using the code view, the content differs from the imported cms_block.csv. The twig for loops have changed place and no longer have any content inside them, for example. cms_block.csv row cms-block-email--order-confirmation--html
Copy code
...
<table>
{% for shipmentGroup in mail.shipmentGroups %}
   <tr><td> shipment details... </td></tr>
   {% for item in shipmentGroup.items %}
      <tr><td> item details... </td></td>
   {% endfor %} 
{% endfor %}
</table>
when viewed in the b2b-demoshop cms block editor, it has changed into
Copy code
{% for shipmentGroup in mail.shipmentGroups %}{% for item in shipmentGroup.items %}{% endfor %}{% endfor %}
...
<table>
<tr><td> shipment details... </td></tr>
<tr><td> item details... </td></td>
</table>
At the moment, I'm importing the csv with my edits to get around this. Should it be possible to edit the blocks with twig code in the backoffice editor?