DefaultBlocks
Hi!
Is there a way to hardcode the default blocks as well as prevent the user from loading them manually, something like this:
Is there a way to hardcode the default blocks as well as prevent the user from loading them manually, something like this:
BlockEditor::make()
->defaultBlocks([
[
'name' => 'ContentItems',
'values' => [
'title' => 'Título por defecto'
]
],
[
'name' => 'text',
'values' => [
'text' => 'Texto por defecto'
]
]
])