@ckeditor/ckeditor5-list
Version:
Ordered and unordered lists feature to CKEditor 5.
50 lines (49 loc) • 2.86 kB
TypeScript
/**
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { DocumentList, DocumentListEditing, DocumentListProperties, DocumentListPropertiesEditing, DocumentListPropertiesUtils, DocumentListUtils, ListConfig, List, ListEditing, ListProperties, ListPropertiesEditing, ListPropertiesUI, ListStyle, ListUI, ListUtils, TodoList, TodoListEditing, TodoListUI, ListCommand, DocumentListCommand, IndentCommand, DocumentListIndentCommand, DocumentListMergeCommand, DocumentListSplitCommand, ListStyleCommand, DocumentListStyleCommand, ListStartCommand, DocumentListStartCommand, ListReversedCommand, DocumentListReversedCommand, CheckTodoListCommand } from '.';
declare module '@ckeditor/ckeditor5-core' {
interface EditorConfig {
/**
* The configuration of the {@link module:list/list~List} feature and the {@link module:list/documentlist~DocumentList} feature.
*
* Read more in {@link module:list/listconfig~ListConfig}.
*/
list?: ListConfig;
}
interface PluginsMap {
[]: DocumentList;
[]: DocumentListEditing;
[]: DocumentListProperties;
[]: DocumentListPropertiesEditing;
[]: DocumentListPropertiesUtils;
[]: DocumentListUtils;
[]: List;
[]: ListEditing;
[]: ListProperties;
[]: ListPropertiesEditing;
[]: ListPropertiesUI;
[]: ListStyle;
[]: ListUI;
[]: ListUtils;
[]: TodoList;
[]: TodoListEditing;
[]: TodoListUI;
}
interface CommandsMap {
numberedList: ListCommand | DocumentListCommand;
bulletedList: ListCommand | DocumentListCommand;
indentList: IndentCommand | DocumentListIndentCommand;
outdentList: IndentCommand | DocumentListIndentCommand;
mergeListItemBackward: DocumentListMergeCommand;
mergeListItemForward: DocumentListMergeCommand;
splitListItemBefore: DocumentListSplitCommand;
splitListItemAfter: DocumentListSplitCommand;
listStyle: ListStyleCommand | DocumentListStyleCommand;
listStart: ListStartCommand | DocumentListStartCommand;
listReversed: ListReversedCommand | DocumentListReversedCommand;
todoList: ListCommand;
checkTodoList: CheckTodoListCommand;
}
}