@ckeditor/ckeditor5-image
Version:
Image feature for CKEditor 5.
31 lines (30 loc) • 964 B
TypeScript
/**
* @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
*/
/**
* @module image/imageupload/imageuploadui
*/
import { Plugin } from 'ckeditor5/src/core.js';
/**
* The image upload button plugin.
*
* For a detailed overview, check the {@glink features/images/image-upload/image-upload Image upload feature} documentation.
*
* Adds the `'uploadImage'` button to the {@link module:ui/componentfactory~ComponentFactory UI component factory}
* and also the `imageUpload` button as an alias for backward compatibility.
*/
export default class ImageUploadUI extends Plugin {
/**
* @inheritDoc
*/
static get pluginName(): "ImageUploadUI";
/**
* @inheritDoc
*/
init(): void;
/**
* Creates a button for image upload command to use either in toolbar or in menu bar.
*/
private _createButton;
}