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/imagetextalternative
|
7 | */
|
8 | import { Plugin } from 'ckeditor5/src/core.js';
|
9 | import ImageTextAlternativeEditing from './imagetextalternative/imagetextalternativeediting.js';
|
10 | import ImageTextAlternativeUI from './imagetextalternative/imagetextalternativeui.js';
|
11 | /**
|
12 | * The image text alternative plugin.
|
13 | *
|
14 | * For a detailed overview, check the {@glink features/images/images-styles image styles} documentation.
|
15 | *
|
16 | * This is a "glue" plugin which loads the
|
17 | * {@link module:image/imagetextalternative/imagetextalternativeediting~ImageTextAlternativeEditing}
|
18 | * and {@link module:image/imagetextalternative/imagetextalternativeui~ImageTextAlternativeUI} plugins.
|
19 | */
|
20 | export default class ImageTextAlternative extends Plugin {
|
21 | /**
|
22 | * @inheritDoc
|
23 | */
|
24 | static get requires() {
|
25 | return [ImageTextAlternativeEditing, ImageTextAlternativeUI];
|
26 | }
|
27 | /**
|
28 | * @inheritDoc
|
29 | */
|
30 | static get pluginName() {
|
31 | return 'ImageTextAlternative';
|
32 | }
|
33 | }
|