fix: adjusts code field joi schema to allow editorOptions
This commit is contained in:
@@ -135,6 +135,7 @@ export const code = baseField.keys({
|
||||
),
|
||||
admin: baseAdminFields.keys({
|
||||
language: joi.string(),
|
||||
editorOptions: joi.object().unknown(), // Editor['options'] @monaco-editor/react
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user