UNPKG

@ckeditor/ckeditor5-image

Version:

Image feature for CKEditor 5.

37 lines (36 loc) 1.25 kB
/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module image/imagestyle */ import { Plugin, type PluginDependenciesOf } from "@ckeditor/ckeditor5-core"; import { ImageStyleEditing } from "./imagestyle/imagestyleediting.js"; import { ImageStyleUI } from "./imagestyle/imagestyleui.js"; /** * The image style plugin. * * For a detailed overview of the image styles feature, check the {@glink features/images/images-styles documentation}. * * This is a "glue" plugin which loads the following plugins: * * {@link module:image/imagestyle/imagestyleediting~ImageStyleEditing}, * * {@link module:image/imagestyle/imagestyleui~ImageStyleUI} * * It provides a default configuration, which can be extended or overwritten. * Read more about the {@link module:image/imageconfig~ImageConfig#styles image styles configuration}. */ export declare class ImageStyle extends Plugin { /** * @inheritDoc */ static get requires(): PluginDependenciesOf<[ImageStyleEditing, ImageStyleUI]>; /** * @inheritDoc */ static get pluginName(): "ImageStyle"; /** * @inheritDoc */ static override get isOfficialPlugin(): true; }