@ckeditor/ckeditor5-collaboration-core
Version:
Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.
31 lines (30 loc) • 1.1 kB
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 { LocaleConfig, Users, Permissions } from './index.js';
import type { RealTimeCollaborationConfig, CollaborationUsersConfig } from './config.js';
declare module '@ckeditor/ckeditor5-core' {
interface EditorConfig {
/**
* The locale configuration of the editor.
*/
locale?: LocaleConfig;
/**
* The users plugin configuration.
*/
users?: CollaborationUsersConfig;
/**
* The configuration of the real time collaboration feature.
*
* Read more in {@link module:collaboration-core/config~RealTimeCollaborationConfig}.
*
* See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
*/
collaboration?: RealTimeCollaborationConfig;
}
interface PluginsMap {
[Permissions.pluginName]: Permissions;
[Users.pluginName]: Users;
}
}