UNPKG

964 BTypeScriptView Raw
1/**
2 * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 */
5/**
6 * @module image/imageupload/imageuploadui
7 */
8import { Plugin } from 'ckeditor5/src/core.js';
9/**
10 * The image upload button plugin.
11 *
12 * For a detailed overview, check the {@glink features/images/image-upload/image-upload Image upload feature} documentation.
13 *
14 * Adds the `'uploadImage'` button to the {@link module:ui/componentfactory~ComponentFactory UI component factory}
15 * and also the `imageUpload` button as an alias for backward compatibility.
16 */
17export default class ImageUploadUI extends Plugin {
18 /**
19 * @inheritDoc
20 */
21 static get pluginName(): "ImageUploadUI";
22 /**
23 * @inheritDoc
24 */
25 init(): void;
26 /**
27 * Creates a button for image upload command to use either in toolbar or in menu bar.
28 */
29 private _createButton;
30}