After the update, TOC shortcode called within the custom block is not working.
-
Hello,
I’m creating a custom block to output
<?php echo do_shortcode('[toc]'); ?>
. (I’m using the Lazy Blocks plugin for custom block creation.) After updating to version 2402.1, the table of contents stopped displaying. It works when I directly write the shortcode in Gutenberg, but issues arise when using the custom block. Downgrading to 2311 restores the table of contents display.- I have reconfigured the TOC settings after the update.
- Confirmation has been made that the shortcode invocation via Lazy Blocks is functioning correctly.
- It seems that files like front.min.js are not being loaded.
- Checking the relevant post types under “Auto insert for the following content types” makes it work similarly to the previous version. However, I do not wish to display the table of contents for all posts.
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘After the update, TOC shortcode called within the custom block is not working.’ is closed to new replies.