function listAncestor(node, pred) {
  pred = pred || func.fail;

  const ancestors = [];
  ancestor(node, function(el) {
    if (!isEditable(el)) {
      ancestors.push(el);
    }

    return pred(el);
  });
  return ancestors;
}
returns new array of ancestor nodes (until predicate hit).

@param {Node} node
@param {Function} [optional] pred - predicate function