import { CommandManager } from "https://deno.land/x/netzo@0.5.63/deps/@tiptap/react.ts";
Constructors
new
CommandManager(props: { editor: Editor; state?: EditorState; })Properties
readonly
can: () => CanCommandsreadonly
chain: () => ChainedCommandsreadonly
commands: SingleCommandsoptional
customState: EditorStateeditor: Editor
rawCommands: AnyCommands
readonly
state: EditorStateMethods
buildProps(tr: Transaction, shouldDispatch?: boolean): CommandProps
createCan(startTr?: Transaction): CanCommands
createChain(startTr?: Transaction, shouldDispatch?: boolean): ChainedCommands