ngx-editor
Version:
The Rich Text Editor for Angular, Built on ProseMirror
11 lines (10 loc) • 355 B
TypeScript
import type { EditorState, Command } from 'prosemirror-state';
import { InsertCommand } from './types';
type IndentMethod = 'increase' | 'decrease';
declare class Indent implements InsertCommand {
method: IndentMethod;
constructor(method: IndentMethod);
insert(): Command;
canExecute(state: EditorState): boolean;
}
export default Indent;