UNPKG

881 BTypeScriptView Raw
1/**
2 * @license Copyright (c) 2003-2023, 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/imageresize
7 */
8import { Plugin } from 'ckeditor5/src/core';
9import ImageResizeButtons from './imageresize/imageresizebuttons';
10import ImageResizeEditing from './imageresize/imageresizeediting';
11import ImageResizeHandles from './imageresize/imageresizehandles';
12import '../theme/imageresize.css';
13/**
14 * The image resize plugin.
15 *
16 * It adds a possibility to resize each image using handles.
17 */
18export default class ImageResize extends Plugin {
19 /**
20 * @inheritDoc
21 */
22 static get requires(): readonly [typeof ImageResizeEditing, typeof ImageResizeHandles, typeof ImageResizeButtons];
23 /**
24 * @inheritDoc
25 */
26 static get pluginName(): "ImageResize";
27}