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