CommonAncestorResultBranch
interfaceNode a and node b have a common ancestor but are on different branches, the `a` and `b` properties of this result are the ancestors of a and b that are children of the commonAncestor. Since they are siblings, their positions are comparable to determine order in the document.
Import
import { CommonAncestorResultBranch } from '@modular/sdk/editor';Members4
- a
A | ElementNodeThe ancestor of `a` that is a child of `commonAncestor`
- b
B | ElementNodeThe ancestor of `b` that is a child of `commonAncestor`
- commonAncestor
ElementNode- type
'branch'