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 list/documentlist
|
8 | */
|
9 |
|
10 | import { Plugin } from 'ckeditor5/src/core';
|
11 | import DocumentListEditing from './documentlist/documentlistediting';
|
12 | import ListUI from './list/listui';
|
13 |
|
14 | /**
|
15 | * The document list feature.
|
16 | *
|
17 | * This is a "glue" plugin that loads the {@link module:list/documentlist/documentlistediting~DocumentListEditing document list
|
18 | * editing feature} and {@link module:list/list/listui~ListUI list UI feature}.
|
19 | *
|
20 | * @extends module:core/plugin~Plugin
|
21 | */
|
22 | export default class DocumentList extends Plugin {
|
23 | /**
|
24 | * @inheritDoc
|
25 | */
|
26 | static get requires() {
|
27 | return [ DocumentListEditing, ListUI ];
|
28 | }
|
29 |
|
30 | /**
|
31 | * @inheritDoc
|
32 | */
|
33 | static get pluginName() {
|
34 | return 'DocumentList';
|
35 | }
|
36 | }
|