ngx-editor
Version:
The Rich Text Editor for Angular, Built on ProseMirror
13 lines (12 loc) • 458 B
TypeScript
import type { NodeType, Schema } from 'prosemirror-model';
import type { EditorState, Command } from 'prosemirror-state';
import { ToggleCommand } from './types';
declare class ListItem implements ToggleCommand {
isBulletList: boolean;
constructor(isBulletList?: boolean);
getType(schema: Schema): NodeType;
toggle(): Command;
isActive(state: EditorState): boolean;
canExecute(state: EditorState): boolean;
}
export default ListItem;