@witchcraft/editor
    Preparing search index...
    • Gets the visual width and height of an element (el.getBoundingClientRect().width/height - scrollbarWidth/Height).

      Useful for creating drop indicators that don't go outside the element.

      Parameters

      • el: HTMLElement

      Returns { height: number; width: number }