UNPKG

@ckeditor/ckeditor5-utils

Version:

Miscellaneous utilities used by CKEditor 5.

11 lines (10 loc) 438 B
/** * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * For a given element, returns the nearest ancestor element which CSS position is not "static". * * @param element The native DOM element to be checked. */ export default function getPositionedAncestor(element?: HTMLElement): HTMLElement | null;