Current Config:
export const CallToActionBlock: Block = {
slug: 'call-to-action',
interfaceName: 'ICallToActionBlock',
labels: {
singular: 'Call To Action',
plural: 'Call To Actions',
},
fields: [
{
name: 'content',
type: 'richText',
editor: lexicalEditor({
features: ({ defaultFeatures }) => {
return [
...defaultFeatures,
TextStateFeature({
state: {
colors: {
moreish: {
css: {
color: '#FFC170',
},
label: 'Moreish',
}
},
},
})
]
},
}),
required: true,
},
link(),
],
}