fix(netlify-cms-core): allow arrays for frontmatter_delimiter in config (#1997)
This commit is contained in:
parent
5d8aef1d94
commit
ebba686430
@ -96,7 +96,14 @@ const getConfigSchema = () => ({
|
||||
},
|
||||
format: { type: 'string', enum: Object.keys(formatExtensions) },
|
||||
extension: { type: 'string' },
|
||||
frontmatter_delimiter: { type: 'string' },
|
||||
frontmatter_delimiter: {
|
||||
type: ['string', 'array'],
|
||||
minItems: 2,
|
||||
maxItems: 2,
|
||||
items: {
|
||||
type: 'string',
|
||||
},
|
||||
},
|
||||
fields: fieldsConfig,
|
||||
},
|
||||
required: ['name', 'label'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user