src/services/html-marker.js
/* Allows to find the parent which is not always as simple as node.parentNode
    mainly for the element an attribute belongs too */
Allows to find the parent which is not always as simple as node.parentNode
mainly for the element an attribute belongs too
Allows to find the parent which is not always as simple as node . parentNode mainly for the element an attribute belongs too
_getNodeOwnerElement(node) {
    let ownerElement = node.ownerElement
    while (ownerElement && !ownerElement.tagName) {
      ownerElement = ownerElement.ownerElement
    }
    return ownerElement
  }
_getNodeOwnerElement ( node ) { let ownerElement = node . ownerElement while ( ownerElement && ! ownerElement . tagName ) { ownerElement = ownerElement . ownerElement } return ownerElement }
Allows to find the parent which is not always as simple as node.parentNode
mainly for the element an attribute belongs too
Allows to find the parent which is not always as simple as node . parentNode mainly for the element an attribute belongs too