UNPKG

1.08 kBTypeScriptView Raw
1/**
2 * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 */
5import type { LinkConfig, AutoLink, Link, LinkEditing, LinkImage, LinkImageEditing, LinkImageUI, LinkUI, LinkCommand, UnlinkCommand } from './index';
6declare module '@ckeditor/ckeditor5-core' {
7 interface EditorConfig {
8 /**
9 * The configuration of the {@link module:link/link~Link} feature.
10 *
11 * Read more in {@link module:link/linkconfig~LinkConfig}.
12 */
13 link?: LinkConfig;
14 }
15 interface PluginsMap {
16 [AutoLink.pluginName]: AutoLink;
17 [Link.pluginName]: Link;
18 [LinkEditing.pluginName]: LinkEditing;
19 [LinkImage.pluginName]: LinkImage;
20 [LinkImageEditing.pluginName]: LinkImageEditing;
21 [LinkImageUI.pluginName]: LinkImageUI;
22 [LinkUI.pluginName]: LinkUI;
23 }
24 interface CommandsMap {
25 link: LinkCommand;
26 }
27 interface CommandsMap {
28 unlink: UnlinkCommand;
29 }
30}