<p dir="auto">I'm sorry if this is a stupid question but I'm stuck.  I need to respond to a click on a line-number inside the <code class="notranslate">atom-text-editor</code> and I can't figure out how to do it.  The dom shadow gets in my way for everything I try.</p>
<p dir="auto">A simple <code class="notranslate">$('.line-number')</code> gets zero matches when the dom shadow is enabled.  I can match on the <code class="notranslate">atom-text-editor</code> element but nothing inside.  I read the package update doc and it just refers to <code class="notranslate">$(window)</code> which doesn't help.</p>
<p dir="auto">This is a bit of a duplicate from .<a href="https://discuss.atom.io/t/events-from-elements-inside-shadow-dom/14119" rel="nofollow">https://discuss.atom.io/t/events-from-elements-inside-shadow-dom/14119</a>.</p>
<p dir="auto">If you open PHP files that start with <code class="notranslate">&lt;!DOCTYPE html&gt;</code>, atom selects HTML as language. It should be PHP.</p>