Title: Question: inline css added
Last modified: August 1, 2026

---

# Question: inline css added

 *  Resolved [vitorhugo](https://wordpress.org/support/users/vitorhugo/)
 * (@vitorhugo)
 * [6 days, 12 hours ago](https://wordpress.org/support/topic/question-inline-css-added/)
 * Hi, just a quick doubt/question.
 * The plugin had added some inline css:
   `<style id="simpletoc-toc-style-inline-
   css">.simpletoc.has-simpletoc-box-style{padding:1em 1em .5em}.simpletoc.has-simpletoc-
   box-style .simpletoc-title{font-size:1.6rem;margin:0}.simpletoc>summary{cursor:
   pointer}/*# sourceURL=https://site.com/wp-content/plugins/simpletoc/build/style-
   index.css */</style>
 * For what I can tell, it doesn’t do much in the front-end. There is a way to remove
   it? It appeared even with no global settings.
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Marc Tönsing](https://wordpress.org/support/users/marcdk/)
 * (@marcdk)
 * [6 days, 5 hours ago](https://wordpress.org/support/topic/question-inline-css-added/#post-18981604)
 * Hi! Just disable the box-style in the block options of SimpleTOC. SimpleTOC does
   not add CSS by default. So this had been switched on in the options.
 *  Thread Starter [vitorhugo](https://wordpress.org/support/users/vitorhugo/)
 * (@vitorhugo)
 * [5 days, 15 hours ago](https://wordpress.org/support/topic/question-inline-css-added/#post-18981970)
 * Hi, thanks for the reply.
 * Well, something isn’t working properly 🤔 . None options were switched on and
   the css still seems to be applied (well, only the automatic update option is 
   on).
 * Image: [https://imgur.com/a/WzTqI5A](https://imgur.com/a/WzTqI5A)
 *     ```wp-block-code
       <style id="simpletoc-toc-style-inline-css">.simpletoc.has-simpletoc-box-style{padding:1em 1em .5em}.simpletoc.has-simpletoc-box-style .simpletoc-title{font-size:1.6rem;margin:0}.simpletoc>summary{cursor:pointer}/*# sourceURL=https://site.com/wp-content/plugins/simpletoc/build/style-index.css */</style>
       ```
   
 * And in my end, I purged all the possible cache and inspected the source code 
   in differents browsers as well.
 *  Plugin Author [Marc Tönsing](https://wordpress.org/support/users/marcdk/)
 * (@marcdk)
 * [5 days, 15 hours ago](https://wordpress.org/support/topic/question-inline-css-added/#post-18981973)
 * So the reported behavior is confirmed. WordPress loads the stylesheet registered
   via block.json whenever SimpleTOC is present and inlines this small file. The
   box rules are present but inactive because their required class is absent.
 * The stylesheet is only 384 bytes, follows Gutenberg’s standard `block.json` registration,
   and loads only when a SimpleTOC block exists. Disabled features remain inactive
   because their classes are absent. Conditional loading would require considerably
   more custom logic for negligible benefit.
   Maybe this will be fixed in a future
   release as a minor fix. Thank you for reporting.
    -  This reply was modified 5 days, 15 hours ago by [Marc Tönsing](https://wordpress.org/support/users/marcdk/).
    -  This reply was modified 5 days, 15 hours ago by [Marc Tönsing](https://wordpress.org/support/users/marcdk/).

Viewing 3 replies - 1 through 3 (of 3 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fquestion-inline-css-added%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/simpletoc/assets/icon.svg?rev=2796116)
 * [SimpleTOC - Table of Contents Block](https://wordpress.org/plugins/simpletoc/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simpletoc/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simpletoc/)
 * [Active Topics](https://wordpress.org/support/plugin/simpletoc/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simpletoc/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simpletoc/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 3 replies
 * 2 participants
 * Last reply from: [Marc Tönsing](https://wordpress.org/support/users/marcdk/)
 * Last activity: [5 days, 15 hours ago](https://wordpress.org/support/topic/question-inline-css-added/#post-18981973)
 * Status: resolved