UNPKG

383 BTypeScriptView Raw
1import { Command, Editor } from "@ckeditor/ckeditor5-core";
2
3export default class HeadingCommand extends Command {
4 constructor(editor: Editor, modelElements: string[]);
5 refresh(): void;
6 execute(options: { value: string }): void;
7}
8
9declare module '@ckeditor/ckeditor5-core/src/commandcollection' {
10 interface Commands {
11 HeadingCommand: HeadingCommand;
12 }
13}