Hello,
once in a while when working on component parameters (but also when working on JSON for loopers) it happens that the formatting changes from an easier readable version:
{
"text" : {
"label" : "Text",
"type" : "text",
"initial" : "Click Me"
},
"link" : {
"label" : "Link",
"type" : "text",
"initial" : "#"
}
}
to a one line version which is harder to read (and edit):
{"text":{"label":"Text","type":"text","initial":"Click Me"},"link":{"label":"Link","type":"text","initial":"#"} }
I can’t say when this happens exactly. For me it was like about a few hours after not using cornerstone (back to WP dashboard) and continuing editing the parameters or looper json the next day.
Is there a way to avoid this or a way to reformat quickly within cornerstone?
Using ChatGPT for this task every time is a bit annoying
best regards
Mirco