UNPKG

@zodiac-ui/editor

Version:

A rich text editor for Angular based on `@atlaskit/editor-core`.

26 lines (25 loc) 914 B
import { TextSelection } from "prosemirror-state"; import { NodeView } from "prosemirror-view"; export declare const arrowHandlers: import("prosemirror-state").Plugin<any, any>; export declare class CodeBlockView implements NodeView { node: any; view: any; getPos: any; incomingChanges: any; cm: any; dom: any; updating: any; constructor(node: any, view: any, getPos: any); loadMode(key: any): Promise<void>; maybeLoadFencedModes(): void; forwardSelection(): void; asProseMirrorSelection(doc: any): TextSelection<any>; setSelection(anchor: any, head: any): void; valueChanged(): void; codeMirrorKeymap(): any; maybeEscape(unit: any, dir: any): any; update(node: any): boolean; selectNode(): void; stopEvent(): boolean; } export declare function codeBlockFactory(node: any, view: any, getPos: any): CodeBlockView;