drupal-template-helper icon indicating copy to clipboard operation
drupal-template-helper copied to clipboard

Debug info not removed from inspect elements panel

Open danny-englander opened this issue 9 years ago • 4 comments
trafficstars

Hi, In the latest version of Chrome, version 53.0.2785.116 (64-bit), the markup is never removed from the inspect elements panel but still shows up in the template panel. (see attached)

2016-09-21_08-05-46

danny-englander avatar Sep 21 '16 15:09 danny-englander

The shadow DOM /deep/ selector has been deprecated in the latest Chrome. That's why we can't hide these comments in the inspector.

We'll need to figure out a way around this.

shadcn avatar Sep 21 '16 15:09 shadcn

Interesting, thanks for the update.

danny-englander avatar Sep 21 '16 17:09 danny-englander

Chrome itself provides an Option to hide HTML comments in its settings: Sceenshot of "Show HTML Comments" checkbox in Chrome settings This should be at least a work-around for most users. Maybe you can mention this in the README?

derhasi avatar Jan 06 '17 13:01 derhasi

@derhasi done. https://github.com/arshad/drupal-template-helper. Thanks 👍

shadcn avatar Jan 06 '17 14:01 shadcn