code-syntax-block
code-syntax-block copied to clipboard
Prism.js script loaded unnecessarily in taxonomies
In posts, the plugin loads its scripts only when a code block is present. However, I've noticed that in taxonomies (e.g. categories, tags), the Prism.js script is always loaded, even though there is no code block and I'm not using FSE (thus, it's a PHP template).