ngx-editor
Version:
The Rich Text Editor for Angular, Built on ProseMirror
12 lines (11 loc) • 355 B
TypeScript
import type { EditorState, Command } from 'prosemirror-state';
import { ToggleCommand } from './types';
declare class Mark implements ToggleCommand {
name: string;
constructor(name: string);
apply(): Command;
toggle(): Command;
isActive(state: EditorState): boolean;
canExecute(state: EditorState): boolean;
}
export default Mark;