UNPKG

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