Hello,
I have already tried some TOC plugins, but none of them works with Bricks.
Tested I have:
Easy Table of Contents
Table of Contents Plus
SimpleTOC - Table of Contents Block
LuckyWP Table of Contents
GutenTOC - Advance Table of Contents for Gutenberg
Joli Table Of Contents