Files
coopgo/node_modules/decap-cms-widget-markdown/src/schema.js
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

36 lines
707 B
JavaScript

export default {
properties: {
minimal: { type: 'boolean' },
buttons: {
type: 'array',
items: {
type: 'string',
enum: [
'bold',
'italic',
'code',
'link',
'heading-one',
'heading-two',
'heading-three',
'heading-four',
'heading-five',
'heading-six',
'quote',
'bulleted-list',
'numbered-list',
],
},
},
editor_components: { type: 'array', items: { type: 'string' } },
modes: {
type: 'array',
items: {
type: 'string',
enum: ['raw', 'rich_text'],
},
minItems: 1,
},
},
};