title: ckeditor getSelection not working in safari/mac
body: <p>This is what i have written to get href from link in ckeditor </p>
  
  <pre><code>var selection = editor.getSelection();
  range = editor.getSelection().getRanges()[0],
  el = editor.document.createElement('div');
  el.append(range.cloneContents());
  var selectedHTML = el.getHtml();
  </code></pre>
  
  <p>selectedHTML gives html with anchor tag but safari doesnt give the same</p>