-
Hi and good day.
I am creating a custom template for a customer and I need to provide access only to only authorized blocks. One of those is Table of contents, but I am trying to find the block reference to include it in the list of blocks.
const allowedBlocks = [
“core/heading”,
“core/image”,
“core/paragraph”,
“core/video”,
“core-embed/youtube”,
“core/list”,
“seo-by-rank-math/wp-block-rank-math-toc-block”,
];No modification is needed, I just need the correct reference. I am using that example as a failed guess.
For reference
https://developer.wordpress.org/block-editor/reference-guides/core-blocks/Thank you:
Frank Berrocal
f*****************@i*********
The ticket ‘Block reference of Table of Contents.’ is closed to new replies.