UNPKG

1.05 kBTypeScriptView 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/image
7 */
8import { Plugin } from 'ckeditor5/src/core.js';
9import ImageBlock from './imageblock.js';
10import ImageInline from './imageinline.js';
11import '../theme/image.css';
12/**
13 * The image plugin.
14 *
15 * For a detailed overview, check the {@glink features/images/images-overview image feature} documentation.
16 *
17 * This is a "glue" plugin which loads the following plugins:
18 *
19 * * {@link module:image/imageblock~ImageBlock},
20 * * {@link module:image/imageinline~ImageInline},
21 *
22 * Usually, it is used in conjunction with other plugins from this package. See the {@glink api/image package page}
23 * for more information.
24 */
25export default class Image extends Plugin {
26 /**
27 * @inheritDoc
28 */
29 static get requires(): readonly [typeof ImageBlock, typeof ImageInline];
30 /**
31 * @inheritDoc
32 */
33 static get pluginName(): "Image";
34}