We want to use block styles on the table of contents block. Currently, registered styles work in the editor but are not saved or output in the rendered content.
The problem is resolved if we updated the block's save function to include ...useBlockProps.save({ className: attributes.className })
We want to use block styles on the table of contents block. Currently, registered styles work in the editor but are not saved or output in the rendered content.
The problem is resolved if we updated the block's save function to include
...useBlockProps.save({ className: attributes.className })