UNPKG

589 BTypeScriptView Raw
1import { Command } from '@ckeditor/ckeditor5-core';
2
3/**
4 * The reversed list command. It changes the `listReversed` attribute of the selected list items. As a result, the list order will be
5 * reversed.
6 * It is used by the {@link module:list/listproperties~ListProperties list properties feature}.
7 */
8export default class ListReversedCommand extends Command {
9 refresh(): void;
10 execute(options?: { reversed?: boolean }): void;
11}
12
13declare module '@ckeditor/ckeditor5-core/src/commandcollection' {
14 interface Commands {
15 ListReversedCommand: ListReversedCommand;
16 }
17}