UNPKG

998 BTypeScriptView Raw
1/**
2 * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 */
5import LegacyListUtils from './legacylistutils.js';
6import { Plugin } from 'ckeditor5/src/core.js';
7import { Enter } from 'ckeditor5/src/enter.js';
8import { Delete } from 'ckeditor5/src/typing.js';
9import '../../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 */
15export default class LegacyListEditing extends Plugin {
16 /**
17 * @inheritDoc
18 */
19 static get pluginName(): "LegacyListEditing";
20 /**
21 * @inheritDoc
22 */
23 static get requires(): readonly [typeof Enter, typeof Delete, typeof LegacyListUtils];
24 /**
25 * @inheritDoc
26 */
27 init(): void;
28 /**
29 * @inheritDoc
30 */
31 afterInit(): void;
32}