code-syntax-block icon indicating copy to clipboard operation
code-syntax-block copied to clipboard

Prism.js script loaded unnecessarily in taxonomies

Open rafaucau opened this issue 2 years ago • 0 comments

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).

rafaucau avatar Apr 23 '23 17:04 rafaucau