UNPKG

909 BJavaScriptView 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() {
23 return [TodoListEditing, TodoListUI];
24 }
25 /**
26 * @inheritDoc
27 */
28 static get pluginName() {
29 return 'TodoList';
30 }
31}