ngx-editor
Version:
Rich Text Editor for angular using ProseMirror
12 lines (11 loc) • 323 B
TypeScript
import { EditorState } from 'prosemirror-state';
import { Command } from 'prosemirror-commands';
declare class Mark {
name: string;
constructor(name: string);
apply(): Command;
toggle(): Command;
isActive(state: EditorState): boolean;
canExecute(state: EditorState): boolean;
}
export default Mark;