@ckeditor/ckeditor5-collaboration-core
Version:
Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.
19 lines (18 loc) • 698 B
TypeScript
/**
* @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
*/
import { type SuggestionType } from '@ckeditor/ckeditor5-track-changes';
import type { Model, ModelRange } from 'ckeditor5/src/engine.js';
/**
* @module collaboration-core/utils/suggestionmarkerutils
*/
export declare function splitSuggestionMarkerName(name: string): {
group: string;
type: SuggestionType;
subType: string | null;
id: string;
authorId: string;
markerCount: string | null;
};
export declare function fixElementSuggestionRange(range: ModelRange, model: Model): ModelRange;