1 |
|
2 |
|
3 |
|
4 |
|
5 | import type { ImageConfig, AutoImage, Image, ImageBlock, ImageCaption, ImageInline, ImageInsert, ImageInsertViaUrl, ImageResize, ImageStyle, ImageTextAlternative, ImageToolbar, ImageUpload, ImageUtils, ImageBlockEditing, ImageEditing, ImageCaptionEditing, ImageCaptionUI, ImageCaptionUtils, ImageInsertUI, ImageResizeEditing, ImageSizeAttributes, ImageStyleEditing, ImageStyleUI, ImageTextAlternativeEditing, ImageTextAlternativeUI, ImageUploadEditing, ImageUploadProgress, ImageUploadUI, ImageTypeCommand, InsertImageCommand, ReplaceImageSourceCommand, ToggleImageCaptionCommand, ResizeImageCommand, ImageStyleCommand, ImageTextAlternativeCommand, UploadImageCommand } from '.';
|
6 | declare module '@ckeditor/ckeditor5-core' {
|
7 | interface EditorConfig {
|
8 | |
9 |
|
10 |
|
11 |
|
12 |
|
13 | image?: ImageConfig;
|
14 | }
|
15 | interface PluginsMap {
|
16 | [AutoImage.pluginName]: AutoImage;
|
17 | [Image.pluginName]: Image;
|
18 | [ImageBlock.pluginName]: ImageBlock;
|
19 | [ImageCaption.pluginName]: ImageCaption;
|
20 | [ImageInline.pluginName]: ImageInline;
|
21 | [ImageInsert.pluginName]: ImageInsert;
|
22 | [ImageInsertViaUrl.pluginName]: ImageInsertViaUrl;
|
23 | [ImageResize.pluginName]: ImageResize;
|
24 | [ImageStyle.pluginName]: ImageStyle;
|
25 | [ImageTextAlternative.pluginName]: ImageTextAlternative;
|
26 | [ImageToolbar.pluginName]: ImageToolbar;
|
27 | [ImageUpload.pluginName]: ImageUpload;
|
28 | [ImageUtils.pluginName]: ImageUtils;
|
29 | [ImageBlockEditing.pluginName]: ImageBlockEditing;
|
30 | [ImageEditing.pluginName]: ImageEditing;
|
31 | [ImageCaptionEditing.pluginName]: ImageCaptionEditing;
|
32 | [ImageCaptionUI.pluginName]: ImageCaptionUI;
|
33 | [ImageCaptionUtils.pluginName]: ImageCaptionUtils;
|
34 | [ImageInsertUI.pluginName]: ImageInsertUI;
|
35 | [ImageResizeEditing.pluginName]: ImageResizeEditing;
|
36 | [ImageSizeAttributes.pluginName]: ImageSizeAttributes;
|
37 | [ImageStyleEditing.pluginName]: ImageStyleEditing;
|
38 | [ImageStyleUI.pluginName]: ImageStyleUI;
|
39 | [ImageTextAlternativeEditing.pluginName]: ImageTextAlternativeEditing;
|
40 | [ImageTextAlternativeUI.pluginName]: ImageTextAlternativeUI;
|
41 | [ImageUploadEditing.pluginName]: ImageUploadEditing;
|
42 | [ImageUploadProgress.pluginName]: ImageUploadProgress;
|
43 | [ImageUploadUI.pluginName]: ImageUploadUI;
|
44 | }
|
45 | interface CommandsMap {
|
46 | imageTypeBlock: ImageTypeCommand;
|
47 | imageTypeInline: ImageTypeCommand;
|
48 | insertImage: InsertImageCommand;
|
49 | replaceImageSource: ReplaceImageSourceCommand;
|
50 | toggleImageCaption: ToggleImageCaptionCommand;
|
51 | resizeImage: ResizeImageCommand;
|
52 | imageStyle: ImageStyleCommand;
|
53 | imageTextAlternative: ImageTextAlternativeCommand;
|
54 | uploadImage: UploadImageCommand;
|
55 | }
|
56 | }
|