diff --git a/docs/content/changelog/studio-customisation.md b/docs/content/changelog/studio-customisation.md index 30bb3ac65..5f87859e8 100644 --- a/docs/content/changelog/studio-customisation.md +++ b/docs/content/changelog/studio-customisation.md @@ -111,3 +111,15 @@ This option can be set to avoid the display of a field in the Studio editor. ::prose-tip Studio inputs are fully extensible. We can create as many input as we want based on our users needs. :: + +##### `fieldName: String` + +You can set the editor input name in Studio editor. + +##### `fieldDescription: String` + +You can set an extra text under the field name in Studio editor. + +##### `tooltip: String` + +Display an info-bubble next to the field name in Studio editor. diff --git a/src/types/schema.ts b/src/types/schema.ts index c0c96d16d..0c8ac2f63 100644 --- a/src/types/schema.ts +++ b/src/types/schema.ts @@ -50,6 +50,9 @@ export interface EditorOptions { input?: 'media' | 'icon' | 'textarea' // Override the default input for the field hidden?: boolean // Do not display the field in the editor iconLibraries?: string[] // List of icon libraries to use for the icon input + fieldName?: string // Override auto-generated field name with a custom one + fieldDescription?: string // When defined, set a description for the field + tooltip?: string // When defined, set a tooltip info-bubble next to the field name } export interface ContentStandardSchemaV1 extends StandardSchemaV1 {