title: Tinymce setcontent a link an selected img
body: <p>In Tinymce I select an image. I would like to create a link with this:</p>
  
  <pre><code>var code = window.opener.tinyMCE.activeEditor.selection.getContent();
  window.opener.tinyMCE.activeEditor.selection.setContent(code);
  </code></pre>
  
  <p>but it doesn't work.</p>
  
  <p>If i select a text then work correctly!</p>
  
  <p>Please help me i dont understand that why?</p>