code: function legacyIsContentEditable(e) {
      if (e.contentEditable == 'inherit') {
        var parent = bot.dom.getParentElement(e);
        return parent ? legacyIsContentEditable(parent) : false;
      } else {
        return e.contentEditable == 'true';
      }
    }
docs: For IE and for browsers where contentEditable is supported but isContentEditable is not, traverse up the ancestors: