Structure -> Block -> Structure -> Textarea with linebreak kills all

Hi all,

i have a structure field with blocks and in a single block i have another structure with a textarea. So far so good. This works till i enter a linebreak in the textarea. This results in showing the json object in the block field and you can’t save anymore. My solutions is to split the textarea in two text fields.

Seems that the linebreak kills the json object.

My solution works for me but maybe there is another way or a fix in the future.

This might be due to the old yaml parser. You could try switching to symfony: yaml | Kirby CMS