Unable to prepopulate block field

I’m running the last version of kirby and I am trying to convert preexisting textarea fields to blocks fields, if I just switch “textarea” to “blocks” in the blueprint i get a json parsing error (there is data already).

I thought it may work by telling the field to prepopulate with a textarea field. I don’t find a way to do so, when i copy past the code from the reference :

    type: blocks
      - type: text
          text: Write something great…

i only get a empty block as shown in this capture :

Do i miss something ?

You could update programmatically, see this thread:

Setting default values won’t work because default are only used at page creation.

1 Like