nystudio107 / craft-templatecomments

Adds a HTML comment with performance timings to demarcate `{% block %}`s and each Twig template that is included or extended.
https://nystudio107.com/
MIT License
20 stars 1 forks source link

>> BLOCK BEGIN comments showing in admin on Edit entry pages #1

Closed danystad closed 5 years ago

danystad commented 5 years ago

Works great for templates.

However, the plugin adds the following comments above all field titles on Edit entry pages:

BLOCK BEGIN >> attr --> data-type="craft\fields..." >

khalwat commented 5 years ago

Ah, it's because of the unescape quotes in there. Easy enough!

khalwat commented 5 years ago

I think I'm also going to disable it by default in the AdminCP. If you want to turn it on you can, but most people will probably want it off in the AdminCP.

khalwat commented 5 years ago

Fixed in 1.0.1 https://github.com/nystudio107/craft-templatecomments/releases/tag/1.0.1