How to customize node `content` prop

I have a tableCell node with content: block+. However I dont want to let user to add a table inside a tableCell. How can I do that?

You can define another node group, that includes all block nodes except table, and use that instead of block in this content expression.

1 Like