-
Notifications
You must be signed in to change notification settings - Fork 3.6k
/
augmentation.ts
47 lines (41 loc) · 996 Bytes
/
augmentation.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/**
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type {
LinkConfig,
AutoLink,
Link,
LinkEditing,
LinkImage,
LinkImageEditing,
LinkImageUI,
LinkUI,
LinkCommand,
UnlinkCommand
} from './index.js';
declare module '@ckeditor/ckeditor5-core' {
interface EditorConfig {
/**
* The configuration of the {@link module:link/link~Link} feature.
*
* Read more in {@link module:link/linkconfig~LinkConfig}.
*/
link?: LinkConfig;
}
interface PluginsMap {
[ AutoLink.pluginName ]: AutoLink;
[ Link.pluginName ]: Link;
[ LinkEditing.pluginName ]: LinkEditing;
[ LinkImage.pluginName ]: LinkImage;
[ LinkImageEditing.pluginName ]: LinkImageEditing;
[ LinkImageUI.pluginName ]: LinkImageUI;
[ LinkUI.pluginName ]: LinkUI;
}
interface CommandsMap {
link: LinkCommand;
}
interface CommandsMap {
unlink: UnlinkCommand;
}
}