easyblockshq / easyblocks

The open-source visual builder framework.
https://easyblocks.io
GNU Affero General Public License v3.0
241 stars 33 forks source link

feat(editor): include groups definitions #62

Open maarten2424 opened 2 weeks ago

maarten2424 commented 2 weeks ago

Description:

Adds more functionality to the schema group property.

Example usage:

  groups: [
    {
      key: "custom_group",
      label: "Custom group", // Custom label
      collapsable: true, // Set to true to make group collapsable
      collapsed: true, // Set to true to make group collapsed by default
    },
  ],
  schema: [
    {
      prop: "custom_group_prop",
      label: "Some custom group prop",
      type: "number",
      responsive: true,
      group: "custom_group", // Set group to custom group key
    },

This change adds collapse functionality, but still works with original group: 'key' behavior.

Screenshot 2024-06-24 at 16 21 44
vercel[bot] commented 2 weeks ago

@maarten2424 is attempting to deploy a commit to the Shopstory Team on Vercel.

A member of the Team first needs to authorize it.