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/imagecaption
|
8 | */
|
9 |
|
10 | import { Plugin } from 'ckeditor5/src/core';
|
11 | import ImageCaptionEditing from './imagecaption/imagecaptionediting';
|
12 | import ImageCaptionUI from './imagecaption/imagecaptionui';
|
13 |
|
14 | import '../theme/imagecaption.css';
|
15 |
|
16 | /**
|
17 | * The image caption plugin.
|
18 | *
|
19 | * For a detailed overview, check the {@glink features/images/images-captions image caption} documentation.
|
20 | *
|
21 | * @extends module:core/plugin~Plugin
|
22 | */
|
23 | export default class ImageCaption extends Plugin {
|
24 | /**
|
25 | * @inheritDoc
|
26 | */
|
27 | static get requires() {
|
28 | return [ ImageCaptionEditing, ImageCaptionUI ];
|
29 | }
|
30 |
|
31 | /**
|
32 | * @inheritDoc
|
33 | */
|
34 | static get pluginName() {
|
35 | return 'ImageCaption';
|
36 | }
|
37 | }
|