Thinkmill / keystatic

First class CMS experience, TypeScript API, Markdown & YAML/JSON based, no DB
https://keystatic.com
MIT License
1.22k stars 80 forks source link

How to layout using fields.markdoc now fields.document is deprecated? #1273

Open devnomic opened 2 months ago

devnomic commented 2 months ago

It also seems now layout only read the first array only? i cannot add multiple layout. when i click the layout button in toolbar, it always make two columns, there is no dropdown menu to choose 2 or 3 columns (if i remember correctly in the old version there is a dropdown menu when layout button clicked?).

 layouts: [
            [1, 1], //only have this layout
            [1, 1, 1],
          ],
devnomic commented 2 months ago

It suppose to show the popup menu like this when layout button clicked, now it doesn't (i'm using remix version).

Screenshot 2024-08-21 at 09 46 40

Sceenshot above is using keystatic 0.2.x with astro version