Closed modufolio closed 1 year ago
Have you tried with beta 2 as well?
I think this could potentially be a v3 issue even
Yes, the issue already in v3.
We can use JSON.stringify()
for array and objects. That would be correct for blocks and layout field but not for structure and object field. It needs to be encoded as yaml data (need a js yaml dependency). I think it seems difficult to detect fields type in local storage.
I'd say pretty-printed JSON would still be better than nothing even for YAML fields. The download is only meant as a backup for manual merging of changes.
Make sense. If everyone agree on using pretty JSON for all non-string data, I can prepare PR for 3.9.8 release.
Description
The data that is being downloaded doesn't seem okay, getting [object Object] in a layout field back.
Screenshots
To reproduce
No idea
Your setup
Kirby Version
3.9.7 4.0.0-beta.1