UNPKG

ngx-editor

Version:

Rich Text Editor for angular using ProseMirror

13 lines (12 loc) 436 B
import type { NodeType, Schema } from 'prosemirror-model'; import type { EditorState } from 'prosemirror-state'; import type { Command } from 'prosemirror-commands'; declare class ListItem { isBulletList: boolean; constructor(isBulletList?: boolean); getType(schema: Schema): NodeType; toggle(): Command; isActive(state: EditorState): boolean; canExecute(state: EditorState): boolean; } export default ListItem;