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 link/linkimage
|
7 | */
|
8 | import { Plugin } from 'ckeditor5/src/core';
|
9 | import LinkImageEditing from './linkimageediting';
|
10 | import LinkImageUI from './linkimageui';
|
11 | import '../theme/linkimage.css';
|
12 | /**
|
13 | * The `LinkImage` plugin.
|
14 | *
|
15 | * This is a "glue" plugin that loads the {@link module:link/linkimageediting~LinkImageEditing link image editing feature}
|
16 | * and {@link module:link/linkimageui~LinkImageUI link image UI feature}.
|
17 | */
|
18 | export default class LinkImage extends Plugin {
|
19 | /**
|
20 | * @inheritDoc
|
21 | */
|
22 | static get requires() {
|
23 | return [LinkImageEditing, LinkImageUI];
|
24 | }
|
25 | /**
|
26 | * @inheritDoc
|
27 | */
|
28 | static get pluginName() {
|
29 | return 'LinkImage';
|
30 | }
|
31 | }
|