123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- import { Node, NodeType, Attrs, MarkType } from 'prosemirror-model';
- import { Command } from 'prosemirror-state';
- declare const deleteSelection: Command;
- declare const joinBackward: Command;
- declare const joinTextblockBackward: Command;
- declare const joinTextblockForward: Command;
- declare const selectNodeBackward: Command;
- declare const joinForward: Command;
- declare const selectNodeForward: Command;
- declare const joinUp: Command;
- declare const joinDown: Command;
- declare const lift: Command;
- declare const newlineInCode: Command;
- declare const exitCode: Command;
- declare const createParagraphNear: Command;
- declare const liftEmptyBlock: Command;
- declare function splitBlockAs(splitNode?: (node: Node, atEnd: boolean) => {
- type: NodeType;
- attrs?: Attrs;
- } | null): Command;
- declare const splitBlock: Command;
- declare const splitBlockKeepMarks: Command;
- declare const selectParentNode: Command;
- declare const selectAll: Command;
- declare const selectTextblockStart: Command;
- declare const selectTextblockEnd: Command;
- declare function wrapIn(nodeType: NodeType, attrs?: Attrs | null): Command;
- declare function setBlockType(nodeType: NodeType, attrs?: Attrs | null): Command;
- declare function toggleMark(markType: MarkType, attrs?: Attrs | null): Command;
- declare function autoJoin(command: Command, isJoinable: ((before: Node, after: Node) => boolean) | readonly string[]): Command;
- declare function chainCommands(...commands: readonly Command[]): Command;
- declare const pcBaseKeymap: {
- [key: string]: Command;
- };
- declare const macBaseKeymap: {
- [key: string]: Command;
- };
- declare const baseKeymap: {
- [key: string]: Command;
- };
- export { autoJoin, baseKeymap, chainCommands, createParagraphNear, deleteSelection, exitCode, joinBackward, joinDown, joinForward, joinTextblockBackward, joinTextblockForward, joinUp, lift, liftEmptyBlock, macBaseKeymap, newlineInCode, pcBaseKeymap, selectAll, selectNodeBackward, selectNodeForward, selectParentNode, selectTextblockEnd, selectTextblockStart, setBlockType, splitBlock, splitBlockAs, splitBlockKeepMarks, toggleMark, wrapIn };
|