/** * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ import { type Editor, Plugin } from 'ckeditor5/src/core'; import ImageUtils from '../imageutils'; /** * The image resize editing feature. * * It adds the ability to resize each image using handles or manually by * {@link module:image/imageresize/imageresizebuttons~ImageResizeButtons} buttons. */ export default class ImageResizeEditing extends Plugin { /** * @inheritDoc */ static get requires(): readonly [typeof ImageUtils]; /** * @inheritDoc */ static get pluginName(): "ImageResizeEditing"; /** * @inheritDoc */ constructor(editor: Editor); /** * @inheritDoc */ init(): void; private _registerSchema; /** * Registers image resize converters. * * @param imageType The type of the image. */ private _registerConverters; }