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/imageinline
|
7 | */
|
8 | import { Plugin } from 'ckeditor5/src/core.js';
|
9 | import { Widget } from 'ckeditor5/src/widget.js';
|
10 | import ImageTextAlternative from './imagetextalternative.js';
|
11 | import ImageInlineEditing from './image/imageinlineediting.js';
|
12 | import ImageInsertUI from './imageinsert/imageinsertui.js';
|
13 | import '../theme/image.css';
|
14 | /**
|
15 | * The image inline plugin.
|
16 | *
|
17 | * This is a "glue" plugin which loads the following plugins:
|
18 | *
|
19 | * * {@link module:image/image/imageinlineediting~ImageInlineEditing},
|
20 | * * {@link module:image/imagetextalternative~ImageTextAlternative}.
|
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 | */
|
25 | export default class ImageInline extends Plugin {
|
26 | /**
|
27 | * @inheritDoc
|
28 | */
|
29 | static get requires() {
|
30 | return [ImageInlineEditing, Widget, ImageTextAlternative, ImageInsertUI];
|
31 | }
|
32 | /**
|
33 | * @inheritDoc
|
34 | */
|
35 | static get pluginName() {
|
36 | return 'ImageInline';
|
37 | }
|
38 | }
|