code: function isEditable(node, options) {
          // This is slightly a lie, because we're excluding non-HTML elements with
          // contentEditable attributes.
          return !options || !options.applyToEditableOnly
              || ( (isEditableElement(node) || isEditableElement(node.parentNode)) && !isEditingHost(node) );
      }
docs: "A node is editable if it is not an editing host and is or is the child of an Element whose isContentEditable property returns true."