Blocks are getting collapsed on ctx.setFieldValue


We are developing a plugin using below link:

We have a “Structured text” field on a model. On that field we have some blocks.
From our plugin we are storing the value of that “Structured text” field on local storage and we are calling one function ctx.setFieldValue to fill the field from local storage.

But every time we use that function ctx.setFieldValue then the blocks inside that structured text field are getting collapsed.

Do you have any suggestion if we can make those collapsed out while using ctx.setFieldValue?

Jyotirmoy Biswas

Hello @jyoti

On the structured text field, do you have the “show blocks collapsed by default” settings active?


Thanks for your feedback.

Thanks again,
Jyotirmoy Biswas