@ckeditor/ckeditor5-mention
Version:
Mention feature for CKEditor 5.
24 lines (23 loc) • 829 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 { MentionConfig, Mention, MentionEditing, MentionUI, MentionCommand } from './index.js';
declare module '@ckeditor/ckeditor5-core' {
interface EditorConfig {
/**
* The configuration of the {@link module:mention/mention~Mention} feature.
*
* Read more in {@link module:mention/mentionconfig~MentionConfig}.
*/
mention?: MentionConfig;
}
interface PluginsMap {
[Mention.pluginName]: Mention;
[MentionEditing.pluginName]: MentionEditing;
[MentionUI.pluginName]: MentionUI;
}
interface CommandsMap {
mention: MentionCommand;
}
}