Tagged: Minify
- AuthorPosts
- November 18, 2024 at 10:39 am #148942mriyaGuest
Hello! I use the Code Block Pro plugin (https://wordpress.org/plugins/code-block-pro/) with HTML minification enabled in W3TC – which causes the code to lose indentation when using the Code Block Pro copy button.
The indentation is displayed normally in the post, only the copy button is affected. Is there any way to bypass minification in Code Block Pro?
November 18, 2024 at 10:46 am #148988Marko VasiljevicKeymasterHello,
Thank you for reaching out and I am happy to help!
Can you please share the HTML minify settings currently enabled in the W3 Total Cache?
Also, can you please share the URL of the affected page and the HTML Minify method used and also, please let me know if you are using Cloudflare and their Minify options as well.And to confirm again, the problem is resolved if you only disable HTML modification and keep using JS and CSS minify?
Thanks!November 19, 2024 at 9:42 am #149010mriyaGuestHTML minifier: minify (default)
Advanced settings: https://i.imgur.com/UTDxERS.pngExample of affected page: https://octadata.com.br/blog/apps-script-manipular-google-sheets/
Although I do use Cloudflare, as soon as I disable W3TC HTML minify, the indentation problem when using the copy button of a code block is resolved.
- AuthorPosts
- The topic ‘Code Block Pro + HTML Minification (W3TC)’ is closed to new replies.