UNPKG

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