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