docs: function selectedHTML(editor) {
      restoreRange(editor);
      var range = getRange(editor);
      if (ie)
        return range.htmlText;
      var layer = $("<layer>")[0];
      layer.appendChild(range.cloneContents());
      var html = layer.innerHTML;
      layer = null;
      return html;
    }