@ckeditor/ckeditor5-list
Version:
Ordered and unordered lists feature to CKEditor 5.
54 lines (53 loc) • 3.16 kB
TypeScript
/**
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
import type { List, ListEditing, ListUtils, ListUI, ListCommand, ListIndentCommand, ListMergeCommand, ListSplitCommand, ListProperties, ListPropertiesUtils, ListPropertiesEditing, ListPropertiesUI, ListStyleCommand, ListStartCommand, ListReversedCommand, TodoList, TodoListEditing, TodoListUI, CheckTodoListCommand, LegacyList, LegacyListEditing, LegacyListUtils, LegacyListCommand, LegacyIndentCommand, LegacyListProperties, LegacyListPropertiesEditing, LegacyListStyleCommand, LegacyListStartCommand, LegacyListReversedCommand, LegacyTodoList, LegacyTodoListEditing, LegacyCheckTodoListCommand, ListConfig, DocumentList, DocumentListProperties, TodoDocumentList } from './index.js';
declare module '@ckeditor/ckeditor5-core' {
interface EditorConfig {
/**
* The configuration of the {@link module:list/list~List} feature and the {@link module:list/legacylist~LegacyList} feature.
*
* Read more in {@link module:list/listconfig~ListConfig}.
*/
list?: ListConfig;
}
interface PluginsMap {
[ ]: List;
[ ]: ListEditing;
[ ]: ListUtils;
[ ]: ListUI;
[ ]: ListProperties;
[ ]: ListPropertiesEditing;
[ ]: ListPropertiesUtils;
[ ]: ListPropertiesUI;
[ ]: TodoDocumentList;
[ ]: TodoListEditing;
[ ]: TodoListUI;
[ ]: LegacyList;
[ ]: LegacyListEditing;
[ ]: LegacyListUtils;
[ ]: LegacyListProperties;
[ ]: LegacyListPropertiesEditing;
[ ]: LegacyTodoList;
[ ]: LegacyTodoListEditing;
[ ]: DocumentList;
[ ]: DocumentListProperties;
[ ]: TodoDocumentList;
}
interface CommandsMap {
numberedList: LegacyListCommand | ListCommand;
bulletedList: LegacyListCommand | ListCommand;
indentList: LegacyIndentCommand | ListIndentCommand;
outdentList: LegacyIndentCommand | ListIndentCommand;
mergeListItemBackward: ListMergeCommand;
mergeListItemForward: ListMergeCommand;
splitListItemBefore: ListSplitCommand;
splitListItemAfter: ListSplitCommand;
listStyle: LegacyListStyleCommand | ListStyleCommand;
listStart: LegacyListStartCommand | ListStartCommand;
listReversed: LegacyListReversedCommand | ListReversedCommand;
todoList: LegacyListCommand | ListCommand;
checkTodoList: LegacyCheckTodoListCommand | CheckTodoListCommand;
}
}