docs: function(controlRange) {
        var selection,
            range;
  
        if (controlRange && this.doc.selection && this.doc.selection.type === "Control") {
          range = this.doc.selection.createRange();
          if (range && range.length) {
            return range.item(0);
          }
        }
  
        selection = this.getSelection(this.doc);
        if (selection.focusNode === selection.anchorNode) {
          return selection.focusNode;
        } else {
          range = this.getRange(this.doc);
          return range ? range.commonAncestorContainer : this.doc.body;
        }
      }