Remove elements barrel file and next/image, add image/number field types
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@ export const ImageConfig: ElementConfig = {
|
||||
label: "Image",
|
||||
fields: {
|
||||
src: {
|
||||
type: "text",
|
||||
type: "image",
|
||||
label: "Source URL",
|
||||
},
|
||||
alt: {
|
||||
@@ -28,11 +28,11 @@ export const ImageConfig: ElementConfig = {
|
||||
label: "Circle",
|
||||
},
|
||||
width: {
|
||||
type: "text",
|
||||
type: "number",
|
||||
label: "Width",
|
||||
},
|
||||
height: {
|
||||
type: "text",
|
||||
type: "number",
|
||||
label: "Height",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user