collective / volto-hydra

A volto addon to let you edit content in realtime when you have many frontends written in any framework
2 stars 4 forks source link

as an integrator I can specify which blocks can be added #70

Closed djay closed 4 months ago

djay commented 5 months ago

Pass this on iframe init. Means the for the demo we won't get confused adding blocks that aren't supported api should allow for extension later to support rules about which can be added inside containers, changes to schemas on blocks (options not supported etc), custom block schemas etc

djay commented 4 months ago

@MAX-786 I moved this one up because it will make it less confusing to demo if you can't add blocks you can't see

MAX-786 commented 4 months ago

@djay Currently I just restricted the block types to : text & image

Later, we can work through the rules about adding blocks inside containers and etc.