Rename block .editor files to .config

Also drop the color and leftSideBarVisible overrides from PageEditor.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014xjLo7mFxZXfPDCHuKX4Dz
This commit is contained in:
Rami Bitar
2026-08-29 11:10:24 -04:00
co-authored by Claude Opus 5
parent 3bc61066f0
commit 69ca137c7d
14 changed files with 20 additions and 22 deletions
+25
View File
@@ -0,0 +1,25 @@
import { ComponentConfig } from '@reacteditor/core';
import { FolderOpen } from 'lucide-react';
import Collections from '@/components/shopify/collections';
export type CollectionsBlockProps = {
title?: string;
subtitle?: string;
};
const collectionsEditor: ComponentConfig<CollectionsBlockProps> = {
label: 'Collection grid',
icon: <FolderOpen size={16} />,
category: 'commerce',
defaultProps: {
title: 'Our Collections',
subtitle: 'Discover our carefully crafted worlds',
},
fields: {
title: { label: 'Title', type: 'text', contentEditable: true },
subtitle: { label: 'Subtitle', type: 'textarea', contentEditable: true },
},
render: (props) => <Collections {...props} />,
};
export default collectionsEditor;