code: function () {
              try {
                  if(browser.ie9below){
  
                      var nativeRange = _getIERange(this);
                      return !!(nativeRange && this.rangeInBody(nativeRange));
                  }else{
                      return !!this.getNative().rangeCount;
                  }
              } catch ( e ) {
                  return false;
              }
  
          }
docs: 编辑器是否得到了选区
  @method isFocus