UNPKG

ngx-editor

Version:

Rich Text Editor for angular using ProseMirror

13 lines (12 loc) 329 B
import { EditorState } from 'prosemirror-state'; import { Command } from 'prosemirror-commands'; export interface ImageAttrs { alt?: string; title?: string; width?: string; } declare class Image { insert(src: string, attrs: ImageAttrs): Command; isActive(state: EditorState): boolean; } export default Image;