@ckeditor/ckeditor5-html-support
Version:
HTML Support feature for CKEditor 5.
16 lines (15 loc) • 592 B
TypeScript
/**
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { DowncastWriter, ViewElement } from 'ckeditor5/src/engine';
/**
* @module html-support/integrations/integrationutils
*/
/**
* Returns the first view element descendant matching the given view name.
* Includes view element itself.
*
* @internal
*/
export declare function getDescendantElement(writer: DowncastWriter, containerElement: ViewElement, elementName: string): ViewElement | undefined;