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 | import ListUtils from './listutils';
|
6 | import { Plugin } from 'ckeditor5/src/core';
|
7 | import { Enter } from 'ckeditor5/src/enter';
|
8 | import { Delete } from 'ckeditor5/src/typing';
|
9 | import '../../theme/list.css';
|
10 | /**
|
11 | * The engine of the list feature. It handles creating, editing and removing lists and list items.
|
12 | *
|
13 | * It registers the `'numberedList'`, `'bulletedList'`, `'indentList'` and `'outdentList'` commands.
|
14 | */
|
15 | export default class ListEditing extends Plugin {
|
16 | /**
|
17 | * @inheritDoc
|
18 | */
|
19 | static get pluginName(): 'ListEditing';
|
20 | /**
|
21 | * @inheritDoc
|
22 | */
|
23 | static get requires(): readonly [typeof Enter, typeof Delete, typeof ListUtils];
|
24 | /**
|
25 | * @inheritDoc
|
26 | */
|
27 | init(): void;
|
28 | /**
|
29 | * @inheritDoc
|
30 | */
|
31 | afterInit(): void;
|
32 | }
|