feat: add maxImageSize

This commit is contained in:
Jacob Overgaard
2024-09-20 12:07:14 +02:00
parent 9ef47d94bf
commit 481dc519f5

View File

@@ -95,6 +95,14 @@ export const manifests: Array<ManifestTypes> = [
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Integer',
weight: 30,
},
{
alias: 'maxImageSize',
label: 'Maximum size for inserted images',
description: 'Maximum width or height - enter 0 to disable resizing',
propertyEditorUiAlias: 'Umb.PropertyEditorUi.Integer',
weight: 40,
config: [{ alias: 'min', value: 0 }],
},
],
defaultData: [],
},