UNPKG

780 BTypeScriptView Raw
1import { Plugin } from '@ckeditor/ckeditor5-core';
2import { Enter } from '@ckeditor/ckeditor5-enter';
3import { Delete } from '@ckeditor/ckeditor5-typing';
4
5import DocumentListUtils from './documentlistutils';
6
7// tslint:disable-next-line:no-empty-interface
8export interface DowncastStrategy {}
9
10/**
11 * The editing part of the document-list feature. It handles creating, editing and removing lists and list items.
12 */
13export default class DocumentListEditing extends Plugin {
14 static readonly pluginName: 'DocumentListEditing';
15 static readonly requires: [typeof Enter, typeof Delete, typeof DocumentListUtils];
16
17 init(): void;
18 afterInit(): void;
19
20 /**
21 * Registers a downcast strategy.
22 */
23 registerDowncastStrategy(strategy: DowncastStrategy): void;
24}