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