@ckeditor/ckeditor5-track-changes
Version:
CKEditor 5 track changes plugin.
13 lines (12 loc) • 532 B
TypeScript
/**
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
/**
* @module track-changes/integrations/utils
*/
import type { ModelRange, Model } from '@ckeditor/ckeditor5-engine';
/**
* Searches given `range` and returns all sub-ranges containing items with given `attributeKey`.
*/
export declare function getRangesWithAttribute(attributeKey: string, range: ModelRange, model: Model): Array<ModelRange>;