title: Get an anchor in a ckeditor document
body: <p>I am working with ckeditor and we build an custom plugin to define an link to an anchor on a page. Now when i try to get all the anchors on my page nothing is returned.</p>
  
  <p>My HTML looks as follows:</p>
  
  <pre><code>&lt;p&gt;
      &lt;a name="anchor-anchor"&gt;&lt;/a&gt;&lt;/p&gt;
  </code></pre>
  
  <p>But when I try to get all the anchors in the document like this:<br>
  <code>editor.document.getElementsByTag("a")</code></p>
  
  <p>nothing is returned. But when I place a normal anchor the above code will find that.
  Am I doing something wrong?</p>
  
  <p>Regards!</p>